MIMInputToolbar
A very simple gem that provides the one MIMInputToolbar class which you can use as the input accessory view for your UITextFields and UITextViews.
Installation
Add this line to your application's Gemfile:
gem 'MIMInputToolbar'
And then execute:
$ bundle
Or install it yourself as:
$ gem install
Usage
After installing the gem / adding it to your Gemfile, start off by creating an instance of MIMInputToolbar.
= .new
Give each input the instance through it's input accessor view property.
@text_field_one.inputAccessoryView =
@text_field_two.inputAccessoryView =
@text_field_three.inputAccessoryView =
Then finally, give the instance all the fields (in the correct order) that it will be navigating through.
.fields = [@text_field_one, @text_field_two, @text_field_three]
This works really well with the TPKeyboardAvoiding.
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request