Simple class which adds Safari like toolbar to keyboard and handles switching between input fields.
Objective-C Ruby
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
PNTToolbar
PNTToolbarDemo
LICENCE
PNTToolbar.podspec
README.md
preview.gif
screen1.png
screen2.png

README.md

#PNTToolbar

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

###CocoaPods

platform :ios, '7.0'
pod 'PNTToolbar', '~> 0.1.6'

###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.