Skip to content

Repository files navigation

KeyboardAccessoryToolbar

A simple keyboard accessory toolbar for iOS implemented in Swift.

Installation

Simply add KeyboardAccessoryToolbar.swift in your project.

Usage

extensionViewController:UITextFieldDelegate{func textFieldShouldBeginEditing(textField:UITextField)->Bool{
// Set to specific text field
if textField ==self.textField {
// Set toolbar's current view to active text field
// This will also set the view's input accessory view to accessory toolbar
accessoryToolbar.currentView = textField
}returntrue}}

License

Copyright (c) 2015 Joe Christopher Paul Amanse. This software is distributed under the MIT License

About

A simple keyboard accessory toolbar for iOS implemented in Swift.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages