TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Josip Cavar.
Simple class which adds Safari like toolbar to keyboard and handles switching between input fields.
PNTToolbar *toolbar = [PNTToolbar defaultToolbar];
toolbar.mainScrollView = self.scrollViewForm;
toolbar.inputFields = @[self.textFieldKeyboard, self.textView, self.textFieldDatePicker, self.textFieldPickerView];
Just drag and drop PNTToolbar folder into your project
When you set the text fields property, instance of this class becames delegate to all text fields. Object implements delegate methods and calculates scrolling behaviour. If you need custom delegate behaviour, you can set delegates property of object where you can set delegate for every text field which you provide.