diff --git a/README.md b/README.md index a817714..8e89f90 100644 --- a/README.md +++ b/README.md @@ -112,7 +112,6 @@ alert.soundURL = [NSURL fileURLWithPath:[NSString stringWithFormat:@"%@/right_an ``` ###Helpers -``` ```Objective-C //Receiving information that SCLAlertView is dismissed [alert alertIsDismissed:^{ diff --git a/SCLAlertView-Objective-C.podspec b/SCLAlertView-Objective-C.podspec index 4316aeb..6128595 100644 --- a/SCLAlertView-Objective-C.podspec +++ b/SCLAlertView-Objective-C.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |spec| spec.name = "SCLAlertView-Objective-C" - spec.version = "0.2.5" + spec.version = "0.2.6" spec.summary = "Beautiful animated Alert View. Written in Swift but ported to Objective-C" spec.homepage = "https://github.com/dogo/SCLAlertView" spec.screenshots = "https://raw.githubusercontent.com/dogo/SCLAlertView/master/ScreenShots/ScreenShot.png", "https://raw.githubusercontent.com/dogo/SCLAlertView/master/ScreenShots/ScreenShot2.png" @@ -10,7 +10,7 @@ Pod::Spec.new do |spec| spec.social_media_url = "http://twitter.com/di_autilio" spec.platform = :ios spec.ios.deployment_target = '7.0' - spec.source = { :git => "https://github.com/dogo/SCLAlertView.git", :tag => "0.2.5" } + spec.source = { :git => "https://github.com/dogo/SCLAlertView.git", :tag => "0.2.6" } spec.source_files = "SCLAlertView/*" spec.requires_arc = true end diff --git a/SCLAlertView/SCLAlertView.m b/SCLAlertView/SCLAlertView.m index b7e4eb7..efc0bd8 100755 --- a/SCLAlertView/SCLAlertView.m +++ b/SCLAlertView/SCLAlertView.m @@ -134,9 +134,6 @@ - (instancetype)init _labelTitle.textColor = UIColorFromRGB(0x4D4D4D); _viewText.textColor = UIColorFromRGB(0x4D4D4D); _contentView.layer.borderColor = UIColorFromRGB(0xCCCCCC).CGColor; - - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidShow:) name:UIKeyboardDidShowNotification object:nil]; - [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(keyboardDidHide:) name:UIKeyboardDidHideNotification object:nil]; } return self; }