diff --git a/KeyboardTextFieldDemo/IQKeyBoardManager/IQKeyboardManager.m b/KeyboardTextFieldDemo/IQKeyBoardManager/IQKeyboardManager.m
index 1783f972..43a0f2e8 100755
--- a/KeyboardTextFieldDemo/IQKeyBoardManager/IQKeyboardManager.m
+++ b/KeyboardTextFieldDemo/IQKeyBoardManager/IQKeyboardManager.m
@@ -119,6 +119,9 @@ - (void)textFieldViewDidEndEditing:(NSNotification*)notification;
- (void)tapRecognized:(UITapGestureRecognizer*)gesture;
+//To remove compiler warning
+- (void)barTintColor;
+
@end
@implementation IQKeyboardManager
@@ -155,6 +158,12 @@ @implementation IQKeyboardManager
CGRect textFieldViewIntialFrame;
}
+//Remove compiler warning
+- (void)barTintColor
+{
+
+}
+
@synthesize enable = _enable;
@synthesize enableAutoToolbar = _enableAutoToolbar;
@@ -234,9 +243,6 @@ -(void)dealloc
}
#pragma mark - Property functions
-
-
-
-(void)setEnable:(BOOL)enable
{
// If not enabled, enable it.
@@ -287,20 +293,14 @@ -(void)setKeyboardDistanceFromTextField:(CGFloat)keyboardDistanceFromTextField
-(UIViewController *)rootViewController
{
- if (_rootViewController == nil)
- {
- _rootViewController = [[self keyWindow] rootViewController];
- }
+ if (_rootViewController == nil) _rootViewController = [[self keyWindow] rootViewController];
return _rootViewController;
}
-(UIWindow *)keyWindow
{
- if (_keyWindow == nil)
- {
- _keyWindow = [[UIApplication sharedApplication] keyWindow];
- }
+ if (_keyWindow == nil) _keyWindow = [[UIApplication sharedApplication] keyWindow];
return _keyWindow;
}
diff --git a/KeyboardTextFieldDemo/IQKeyboardManager.podspec b/KeyboardTextFieldDemo/IQKeyboardManager.podspec
deleted file mode 100755
index aff88441..00000000
--- a/KeyboardTextFieldDemo/IQKeyboardManager.podspec
+++ /dev/null
@@ -1,17 +0,0 @@
-
-Pod::Spec.new do |s|
-
- s.name = "IQKeyboardManager"
- s.version = "1.2"
- s.summary = "Keyboard TextField Manager. We called it 'IQKeyboardManager."
- s.description = 'Often while developing an app, We ran into an issues where the iPhone UIKeyboard slide up and cover the UITextField/UITextView.'
- s.homepage = "https://github.com/hackiftekhar/IQKeyboardManager"
- s.screenshots = "https://github.com/hackiftekhar/IQKeyboardManager/blob/master/KeyboardTextFieldDemo/Screenshot/IQKeyboardManagerScreenshot.png"
- s.license = 'MIT License'
- s.license = { :type => 'MIT', :file => 'LICENSE.txt' }
- s.author = { "hackiftekhar" => "hack.iftekhar@gmail.com" }
- s.platform = :ios
- s.source = { :git => "https://github.com/hackiftekhar/IQKeyboardManager.git", :tag => "v1.2" }
- s.source_files = 'KeyboardTextFieldDemo/IQKeyBoardManager/*.{h,m}'
- s.exclude_files = 'Classes/Exclude'
-end
diff --git a/KeyboardTextFieldDemo/KeyboardTextFieldDemo/KeyboardTextFieldDemo-Info.plist b/KeyboardTextFieldDemo/KeyboardTextFieldDemo/KeyboardTextFieldDemo-Info.plist
index 6b3026c3..f3cd7005 100755
--- a/KeyboardTextFieldDemo/KeyboardTextFieldDemo/KeyboardTextFieldDemo-Info.plist
+++ b/KeyboardTextFieldDemo/KeyboardTextFieldDemo/KeyboardTextFieldDemo-Info.plist
@@ -23,7 +23,7 @@
CFBundleSignature
????
CFBundleVersion
- 2.2
+ 2.3
LSRequiresIPhoneOS
UIRequiredDeviceCapabilities