PNTToolbar 0.2.1

PNTToolbar 0.2.1

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.

alt preview

Basic Usage

PNTToolbar *toolbar = [PNTToolbar defaultToolbar];
toolbar.mainScrollView = self.scrollViewForm;
toolbar.inputFields = @[self.textFieldKeyboard, self.textView, self.textFieldDatePicker, self.textFieldPickerView];

Installation

Manual

Just drag and drop PNTToolbar folder into your project

How it works

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.