Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Classes/HUD/M13ProgressHUD.m
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down
6 changes: 3 additions & 3 deletions M13ProgressSuite.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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/*/*'

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>