From da9e28ae733e546b3186d18f478424fb6eaa49f0 Mon Sep 17 00:00:00 2001 From: Diogo Autilio Date: Thu, 23 Oct 2014 11:29:03 -0200 Subject: [PATCH 1/3] Update README.md --- README.md | 1 - 1 file changed, 1 deletion(-) 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:^{ From fa75c706fea685f9c48b042466e116e40e365bbf Mon Sep 17 00:00:00 2001 From: Diogo Autilio Date: Thu, 23 Oct 2014 12:04:35 -0200 Subject: [PATCH 2/3] Duh! Remove observers from init --- SCLAlertView/SCLAlertView.m | 3 --- 1 file changed, 3 deletions(-) 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; } From 53b0d244e29786aa4a71ee5aca98f026ca595bf9 Mon Sep 17 00:00:00 2001 From: Diogo Autilio Date: Thu, 23 Oct 2014 12:05:04 -0200 Subject: [PATCH 3/3] Bump version --- SCLAlertView-Objective-C.podspec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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