Latest 0.2.1
Homepage https://github.com/Planet1107/PNTToolbar
License MIT
Platforms ios 6.0, requires ARC
Authors

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.

Latest podspec

{
    "name": "PNTToolbar",
    "version": "0.2.1",
    "summary": "Simple class which adds Safari like toolbar to input view and handles switching between input fields.",
    "homepage": "https://github.com/Planet1107/PNTToolbar",
    "license": "MIT",
    "authors": {
        "Planet 1107": "[email protected]"
    },
    "social_media_url": "https://twitter.com/Planet1107",
    "screenshots": [
        "https://raw.githubusercontent.com/Planet1107/PNTToolbar/master/screen1.png",
        "https://raw.githubusercontent.com/Planet1107/PNTToolbar/master/screen2.png"
    ],
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/Planet1107/PNTToolbar.git",
        "tag": "0.2.1"
    },
    "source_files": "PNTToolbar",
    "requires_arc": true
}

Pin It on Pinterest

Share This