From 21f1e7ee49a82d3893206180e766407ea9db4530 Mon Sep 17 00:00:00 2001 From: Maarten Billemont Date: Sat, 2 Feb 2013 01:38:11 -0500 Subject: [PATCH] New element fix and statusbar experimentation. [FIXED] Set lastUsed when creating a new site since elements can't be saved without that value set. [UPDATED] Configuration for tinting of status bar. Doesn't work yet with the custom navbar container image: Should check if last row of that image's pixels isn't too dark. iOS 6 apparently averages it for the tint color. --- MasterPassword-iOS.xcodeproj/project.pbxproj | 12 ++--------- .../MasterPassword (App Store).xcscheme | 1 + .../MasterPassword (Development).xcscheme | 2 +- MasterPassword/iOS/MPAllSitesViewController.m | 15 ++++++------- MasterPassword/iOS/MPSearchDelegate.m | 1 + .../iOS/MainStoryboard_iPhone.storyboard | 13 ++++++------ MasterPassword/iOS/MasterPassword-Info.plist | 21 ++++++++++++++++++- 7 files changed, 40 insertions(+), 25 deletions(-) diff --git a/MasterPassword-iOS.xcodeproj/project.pbxproj b/MasterPassword-iOS.xcodeproj/project.pbxproj index 079dfbd4..b82d2c51 100644 --- a/MasterPassword-iOS.xcodeproj/project.pbxproj +++ b/MasterPassword-iOS.xcodeproj/project.pbxproj @@ -3855,7 +3855,8 @@ DA5BFA3B147E415C00F98B1E /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0430; + CLASSPREFIX = MP; + LastUpgradeCheck = 0460; ORGANIZATIONNAME = Lyndir; }; buildConfigurationList = DA5BFA3E147E415C00F98B1E /* Build configuration list for PBXProject "MasterPassword-iOS" */; @@ -4996,7 +4997,6 @@ DA497BA115E8C90E00B52167 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_WARN_OBJCPP_ARC_ABI = NO; GCC_WARN_INHIBIT_ALL_WARNINGS = YES; LIBRARY_SEARCH_PATHS = ( "$(inherited)", @@ -5008,7 +5008,6 @@ DA497BA215E8C90E00B52167 /* AdHoc */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_WARN_OBJCPP_ARC_ABI = NO; GCC_WARN_INHIBIT_ALL_WARNINGS = YES; LIBRARY_SEARCH_PATHS = ( "$(inherited)", @@ -5020,7 +5019,6 @@ DA497BA315E8C90E00B52167 /* AppStore */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_WARN_OBJCPP_ARC_ABI = NO; GCC_WARN_INHIBIT_ALL_WARNINGS = YES; LIBRARY_SEARCH_PATHS = ( "$(inherited)", @@ -5038,7 +5036,6 @@ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES; - CLANG_WARN_OBJCPP_ARC_ABI = YES; CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES; CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES; CLANG_WARN__ARC_BRIDGE_CAST_NONARC = YES; @@ -5101,7 +5098,6 @@ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES; - CLANG_WARN_OBJCPP_ARC_ABI = YES; CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES; CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES; CLANG_WARN__ARC_BRIDGE_CAST_NONARC = YES; @@ -5253,7 +5249,6 @@ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_IMPLICIT_SIGN_CONVERSION = YES; - CLANG_WARN_OBJCPP_ARC_ABI = YES; CLANG_WARN_OBJC_IMPLICIT_ATOMIC_PROPERTIES = YES; CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = YES; CLANG_WARN__ARC_BRIDGE_CAST_NONARC = YES; @@ -5468,7 +5463,6 @@ DAD3127A15528CD200A3F9ED /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_WARN_OBJCPP_ARC_ABI = NO; GCC_WARN_INHIBIT_ALL_WARNINGS = YES; }; name = Debug; @@ -5476,7 +5470,6 @@ DAD3127B15528CD200A3F9ED /* AdHoc */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_WARN_OBJCPP_ARC_ABI = NO; GCC_WARN_INHIBIT_ALL_WARNINGS = YES; }; name = AdHoc; @@ -5484,7 +5477,6 @@ DAD3127C15528CD200A3F9ED /* AppStore */ = { isa = XCBuildConfiguration; buildSettings = { - CLANG_WARN_OBJCPP_ARC_ABI = NO; GCC_WARN_INHIBIT_ALL_WARNINGS = YES; }; name = AppStore; diff --git a/MasterPassword-iOS.xcodeproj/xcshareddata/xcschemes/MasterPassword (App Store).xcscheme b/MasterPassword-iOS.xcodeproj/xcshareddata/xcschemes/MasterPassword (App Store).xcscheme index 8ee8e2a9..70ba9774 100644 --- a/MasterPassword-iOS.xcodeproj/xcshareddata/xcschemes/MasterPassword (App Store).xcscheme +++ b/MasterPassword-iOS.xcodeproj/xcshareddata/xcschemes/MasterPassword (App Store).xcscheme @@ -1,5 +1,6 @@ - + + All @@ -1151,7 +1152,7 @@ Pink fluffy door frame. - + @@ -1633,10 +1634,10 @@ You could use the word wall for inspiration in finding a memorable master passw - - + + @@ -1753,10 +1754,10 @@ You could use the word wall for inspiration in finding a memorable master passw - - + + diff --git a/MasterPassword/iOS/MasterPassword-Info.plist b/MasterPassword/iOS/MasterPassword-Info.plist index ed36747f..f72485ee 100644 --- a/MasterPassword/iOS/MasterPassword-Info.plist +++ b/MasterPassword/iOS/MasterPassword-Info.plist @@ -110,7 +110,26 @@ UIStatusBarHidden UIStatusBarStyle - UIStatusBarStyleBlackOpaque + UIStatusBarStyleDefault + UIStatusBarTintParameters + + UINavigationBar + + Style + UIBarStyleDefault + TintColor + + Blue + 0.42745098039215684 + Green + 0.39215686274509803 + Red + 0.37254901960784315 + + Translucent + + + UISupportedInterfaceOrientations UIInterfaceOrientationPortrait