diff --git a/Bolts.xcodeproj/project.pbxproj b/Bolts.xcodeproj/project.pbxproj index 2f9b1d0a9..938fab1a2 100644 --- a/Bolts.xcodeproj/project.pbxproj +++ b/Bolts.xcodeproj/project.pbxproj @@ -969,7 +969,7 @@ 8E9C3CE117DE9DE000427E62 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0820; + LastUpgradeCheck = 1020; ORGANIZATIONNAME = "Parse Inc."; TargetAttributes = { 8E8C8F1817F241DA00E3F1C7 = { @@ -979,10 +979,11 @@ }; buildConfigurationList = 8E9C3CE417DE9DE000427E62 /* Build configuration list for PBXProject "Bolts" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, + Base, ); mainGroup = 8E9C3CE017DE9DE000427E62; productRefGroup = 8E9C3CEA17DE9DE000427E62 /* Products */; @@ -1402,6 +1403,8 @@ isa = XCBuildConfiguration; baseConfigurationReference = 81D646FA1D2CA0E000690609 /* Debug.xcconfig */; buildSettings = { + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; }; name = Debug; }; @@ -1409,6 +1412,8 @@ isa = XCBuildConfiguration; baseConfigurationReference = 81D646FB1D2CA0E000690609 /* Release.xcconfig */; buildSettings = { + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; }; name = Release; }; diff --git a/Bolts.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/Bolts.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 000000000..18d981003 --- /dev/null +++ b/Bolts.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-iOS-Dynamic.xcscheme b/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-iOS-Dynamic.xcscheme index 73a65f411..d7bfc56c9 100644 --- a/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-iOS-Dynamic.xcscheme +++ b/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-iOS-Dynamic.xcscheme @@ -1,6 +1,6 @@ + codeCoverageEnabled = "YES" + shouldUseLaunchSchemeArgsEnv = "YES"> diff --git a/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-macOS.xcscheme b/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-macOS.xcscheme index 638deee5f..d18645b02 100644 --- a/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-macOS.xcscheme +++ b/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-macOS.xcscheme @@ -1,6 +1,6 @@ + codeCoverageEnabled = "YES" + shouldUseLaunchSchemeArgsEnv = "YES"> diff --git a/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-watchOS-Dynamic.xcscheme b/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-watchOS-Dynamic.xcscheme index d034b3276..d2ca50d2f 100644 --- a/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-watchOS-Dynamic.xcscheme +++ b/Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-watchOS-Dynamic.xcscheme @@ -1,6 +1,6 @@ + codeCoverageEnabled = "YES" + shouldUseLaunchSchemeArgsEnv = "YES"> diff --git a/Bolts/iOS/BFAppLinkReturnToRefererController.m b/Bolts/iOS/BFAppLinkReturnToRefererController.m index d38063549..7c90f097d 100644 --- a/Bolts/iOS/BFAppLinkReturnToRefererController.m +++ b/Bolts/iOS/BFAppLinkReturnToRefererController.m @@ -130,7 +130,7 @@ - (void)statusBarFrameWillChange:(NSNotification *)notification { if (CGRectGetHeight(newFrame) == 40) { UIViewAnimationOptions options = UIViewAnimationOptionBeginFromCurrentState; [UIView animateWithDuration:kBFViewAnimationDuration delay:0.0 options:options animations:^{ - _view.frame = CGRectMake(0.0, 0.0, CGRectGetWidth(_view.bounds), 0.0); + self->_view.frame = CGRectMake(0.0, 0.0, CGRectGetWidth(_view.bounds), 0.0); } completion:nil]; } } @@ -145,7 +145,7 @@ - (void)statusBarFrameDidChange:(NSNotification *)notification { if (CGRectGetHeight(newFrame) == 40) { UIViewAnimationOptions options = UIViewAnimationOptionBeginFromCurrentState; [UIView animateWithDuration:kBFViewAnimationDuration delay:0.0 options:options animations:^{ - [_view sizeToFit]; + [self->_view sizeToFit]; [self moveNavigationBar]; } completion:nil]; } @@ -186,13 +186,13 @@ - (void)closeViewAnimated:(BOOL)animated { - (void)closeViewAnimated:(BOOL)animated explicitlyClosed:(BOOL)explicitlyClosed { void (^closer)(void) = ^{ - if (_navigationController) { - [self updateNavigationBarY:_view.statusBarHeight]; + if (self->_navigationController) { + [self updateNavigationBarY:self->_view.statusBarHeight]; } - CGRect frame = _view.frame; + CGRect frame = self->_view.frame; frame.size.height = 0.0; - _view.frame = frame; + self->_view.frame = frame; }; if (animated) { @@ -200,7 +200,7 @@ - (void)closeViewAnimated:(BOOL)animated explicitlyClosed:(BOOL)explicitlyClosed closer(); } completion:^(BOOL finished) { if (explicitlyClosed) { - _view.closed = YES; + self->_view.closed = YES; } }]; } else {