SKKeyboardResigner 0.1.0

SKKeyboardResigner 0.1.0

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Mar 2015

Maintained by Oscar Antonio Duran Grillo.



Description

With SKKeyboardResigner you can forget about resigning the keyboard by yourself by adding a big button inside a view or doing some 'ñapas' like that. This library takes care of resigning the keyboard for the view you want without doing nothing.

Usage

There are two ways of using this library

1. Set your UITextFields inside a view container and set the View to subclass SKKeyboardResignerView

2. You can directly call the SKKeyboardResigner class methods:

alt text

[SKKeyboardResigner attachObserverToView:viewToObserve]; // If you only want to observe that View UITextFields subviews

or

[SKKeyboardResigner attachObserverToView:viewToObserve textFieldsToObserve:textField1, textField2, nil]; // If you want to observe any view and any UITextFields

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

SKKeyboardResigner is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "SKKeyboardResigner"

Author

Oscar Duran, [email protected]

License

SKKeyboardResigner is available under the MIT license. See the LICENSE file for more info.