CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

KeyboardHandler 0.0.1

KeyboardHandler 0.0.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Boyi Wu.



  • By
  • Boyi Wu

KeyboardHandler is a delightful library that helps you handle with multiple UITextField and keyboard easily. It supports UITextField to be wrapped in a UIViewController, a UINavigationController, a UITabBarController, or even in a UIView.

Here is the Demo : Download KeyboardHandler

Podfile

platform :ios, '7.0'
pod "KeyboardHandler", "~> 0.0.1"

Usage

  1. Create a NSArray, and put all UITextField into it.
  2. Call the method: handleWithView.
@interface Demo () {
    KeyboardHandler *keyboardHandler; // or declare as a property variable
}
@property (strong, nonatomic) IBOutlet UITextField *textField1;
@property (strong, nonatomic) IBOutlet UITextField *textField2;
@property (strong, nonatomic) IBOutlet UITextField *textField3;
@end
NSArray *textFields = @[_textField1,
                        _textField2,
                        _textField3];

keyboardHandler = [KeyboardHandler handleWithView:self.view textFields:textFields];