Jeff Day

1pod

DataEntryToolbar

DataEntryToolbar is a subclass of UIToolbar intended for use as the input accessory view of a keyboard or picker, providing Next, Previous, & Done buttons to navigate up and down a dynamic tableView.

To set up: - Set a DataEntryToolbar instance as the inputAccessoryView of UITextFields you want to control - Add textFields to tableTextFields in cellForRowAtIndexPath, using the textField's cell's indexPath as a key - If you want to be notified when a user taps one of the navigation buttons, implement the necessary closures - The look and feel of the toolbar and its buttons can be customized as you would with any toolbar (i.e. barStyle, barTintColor, or button tintColor properties)

License: MIT

  • Swift