diff --git a/CHANGELOG.md b/CHANGELOG.md index 52bb0c4..9b85c2d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ # MSSlidingPanelController Changelog +## 1.1.1 (Wednesday, January 29th, 2014) +- Hide a false positive warning reported by clang analyzer. +- Add a script to update the build number. ## 1.1.0 (Thursday, January 16th, 2014) - It's now possible to add a completion block when we change the maximum width of panels. ## 1.0.0 (Wednesday, January 8th, 2014) diff --git a/Example/SlidingPanelController.xcodeproj/xcshareddata/xcschemes/SlidingPanelController.xcscheme b/Example/SlidingPanelController.xcodeproj/xcshareddata/xcschemes/SlidingPanelController.xcscheme new file mode 100644 index 0000000..030eee1 --- /dev/null +++ b/Example/SlidingPanelController.xcodeproj/xcshareddata/xcschemes/SlidingPanelController.xcscheme @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Example/SlidingPanelController/SlidingPanelController-Info.plist b/Example/SlidingPanelController/SlidingPanelController-Info.plist index 5b7f4e7..055ee3c 100644 --- a/Example/SlidingPanelController/SlidingPanelController-Info.plist +++ b/Example/SlidingPanelController/SlidingPanelController-Info.plist @@ -17,11 +17,11 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.1.0 + 1.1.1 CFBundleSignature ???? CFBundleVersion - 1.1.0 + 4 LSRequiresIPhoneOS UIRequiredDeviceCapabilities diff --git a/MSSlidingPanelController.podspec b/MSSlidingPanelController.podspec index 207b851..7d05d9e 100644 --- a/MSSlidingPanelController.podspec +++ b/MSSlidingPanelController.podspec @@ -1,13 +1,13 @@ Pod::Spec.new do |spec| spec.name = "MSSlidingPanelController" - spec.version = "1.1.0" + spec.version = "1.1.1" spec.platform = :ios spec.ios.deployment_target = "7.0" spec.requires_arc = true spec.ios.framework = "UIKit" - spec.source = { :git => "https://github.com/SebastienMichoy/MSSlidingPanelController.git", :tag => "1.1.0" } + spec.source = { :git => "https://github.com/SebastienMichoy/MSSlidingPanelController.git", :tag => "1.1.1" } spec.source_files = 'MSSlidingPanelController/*.{h,m}' spec.public_header_files = 'MSSlidingPanelController/*.h' spec.summary = "Integrate easily a sliding panel controller mechanism in your project!" diff --git a/MSSlidingPanelController/MSSlidingPanelController.m b/MSSlidingPanelController/MSSlidingPanelController.m index e7908bf..06b728b 100644 --- a/MSSlidingPanelController/MSSlidingPanelController.m +++ b/MSSlidingPanelController/MSSlidingPanelController.m @@ -721,7 +721,9 @@ - (void)setCenterViewController:(UIViewController *)centerViewController NSParameterAssert(centerViewController); if ([self isViewLoaded]) +#ifndef __clang_analyzer__ frame = [[[self centerViewController] view] frame]; +#endif [[[self centerViewController] view] removeFromSuperview]; [[self centerViewController] removeFromParentViewController]; @@ -733,7 +735,9 @@ - (void)setCenterViewController:(UIViewController *)centerViewController if ([self isViewLoaded]) { +#ifndef __clang_analyzer__ [[[self centerViewController] view] setFrame:frame]; +#endif [[[self centerViewController] view] setAutoresizingMask:(UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight)]; [[self centerView] addSubview:[[self centerViewController] view]]; }