diff --git a/Classes/HUD/M13ProgressHUD.m b/Classes/HUD/M13ProgressHUD.m index 86dbabe..72bac7d 100644 --- a/Classes/HUD/M13ProgressHUD.m +++ b/Classes/HUD/M13ProgressHUD.m @@ -407,7 +407,8 @@ - (void)unregisterFromNotificationCenter { } - (void)deviceOrientationDidChange:(NSNotification *)notification { - UIDeviceOrientation deviceOrientation = [notification.object orientation]; + UIDevice *device = notification.object; + UIDeviceOrientation deviceOrientation = [device orientation]; if (_shouldAutorotate && UIDeviceOrientationIsValidInterfaceOrientation(deviceOrientation)) { if (UIDeviceOrientationIsPortrait(deviceOrientation)) { diff --git a/M13ProgressSuite.podspec b/M13ProgressSuite.podspec index dc5a4da..57aeeee 100644 --- a/M13ProgressSuite.podspec +++ b/M13ProgressSuite.podspec @@ -1,13 +1,13 @@ Pod::Spec.new do |s| s.name = "M13ProgressSuite" - s.version = "1.2.9" + s.version = "1.2.12" s.summary = "A suite containing many tools to display progress information on iOS." s.description = <<-DESC M13ProgressSuite includes many diffrent of styles of progress views: bar, ring, pie, etc. It also includes a HUD overlay and a UINavigationController with progress bar built in. DESC - s.homepage = "https://github.com/Marxon13/M13ProgressSuite" + s.homepage = "https://github.com/dahiri-farid/M13ProgressSuite" s.license = {:type => 'MIT', :text => <<-LICENSE Copyright (c) 2013 Brandon McQuilkin @@ -27,7 +27,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI s.platform = :ios, '7.0' - s.source = { :git => "https://github.com/Marxon13/M13ProgressSuite.git", :tag => "v1.2.9"} + s.source = { :git => "https://github.com/dahiri-farid/M13ProgressSuite", :tag => s.version.to_s } s.source_files = 'Classes/*/*' diff --git a/M13ProgressSuite.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/M13ProgressSuite.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/M13ProgressSuite.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + +