Latest 0.0.1
Homepage https://github.com/p581581/KeyboardHandler
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit
Authors

KeyboardHandler

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 handleWithViewController:self textFields:textFields];

Add text field programmingly

[keyboardHandler addTextField: textField];

Latest podspec

{
    "name": "KeyboardHandler",
    "version": "0.0.1",
    "summary": "A tool helps you handle with keybord on iOS.",
    "homepage": "https://github.com/p581581/KeyboardHandler",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Boyi Wu": "[email protected]"
    },
    "source": {
        "git": "https://github.com/p581581/KeyboardHandler.git",
        "tag": "0.0.1"
    },
    "source_files": "KeyboardHandler/KeyboardHandler.{h,m}",
    "frameworks": "UIKit",
    "requires_arc": true,
    "platforms": {
        "ios": "7.0"
    }
}

Pin It on Pinterest

Share This