@@ -25,55 +25,48 @@ it simply add the following line to your Podfile:
Framework:-
---
Link your project against `KeyboardManager.framework` found in "KeyboardManagerFramework" directory. Drag and drop the resource bundle `IQKeyboardManager.bundle` found in same directory. add `-ObjC` flag in `other linker flag`. In your `appDelegate.m` import `#import <KeyboardManager/KeyboardManager.h>`. Write just one line of code.
Link your project against `KeyboardManager.framework` found in "KeyboardManagerFramework" directory. Drag and drop the resource bundle `IQKeyboardManager.bundle` found in same directory. add `-ObjC` flag in `other linker flag`. That's it. No need to write any single line of code.
Source Code:-
---
Just drag and drop `IQKeyBoardManager` directory from demo project to your project. In your `appDelegate.m` import `#import "IQKeyboardManager.h"`. Write just one line of code.
Just drag and drop `IQKeyBoardManager` directory from demo project to your project. That's it. No need to write any single line of code. It will enable automatically.
## Usage
``` objc
//AppDelegate.m
Properties and functions usage:-
---
1) @method +sharedManager;
Returns the default singleton instance.
2) @property enable;
Use this to enable/disable managing distance between keyboard & textField/textView).
#import "AppDelegate.h"
#import "IQKeyboardManager.h"
3) @property keyboardDistanceFromTextField
Set Distance between keyboard & textField. Can't be less than zero. Default is 10.
@implementationAppDelegate
4) @property enableAutoToolbar
Enable autoToolbar behaviour. If It is set to NO. You have to manually create UIToolbar for keyboard. Default is YES.
Resign textField if touched outside of UITextField/UITextView.
//(Optional)Setting toolbar behaviour to IQAutoToolbarBySubviews to manage previous/next according to UITextField's hierarchy in it's SuperView. Set it to IQAutoToolbarByTag to manage previous/next according to UITextField's tag property in increasing order.
Setting toolbar behaviour to IQAutoToolbarBySubviews to manage previous/next according to UITextField's hierarchy in it's SuperView. Set it to IQAutoToolbarByTag to manage previous/next according to UITextField's tag property in increasing order. Default is IQAutoToolbarBySubviews.
11) @method -resignFirstResponder
Resigns currently first responder field.
```
If you don't want to import these files you can use an older version of `IQKeyboardManager` in Tag 2.6.