Skip to content

morismoris/TextFieldsTraversalController

 
 

Repository files navigation

TextFieldsTraversalController

A controller to manage the traversal of a collection of textfields. This controller comes with a custom inputAccessoryView that mimics the one used in Safari when traversing through a form.

CI Status Version License Platform

Usage

import TextFieldsTraversalController

let textFieldsTraversalController = TextFieldsTraversalController(textFields: textFields)

To run the example project, clone the repo, and run pod install from the Example directory first.

Customization

textFieldsTraversalController.accessoryView.orientation = .horizontal

image

textFieldsTraversalController.accessoryView.orientation = .vertical

image

Requirements

  • iOS 9.0+ and Xcode 9.0+
  • Swift 4.0+

Installation

TextFieldsTraversalController is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'TextFieldsTraversalController'

Author

License

TextFieldsTraversalController is available under the MIT license. See the LICENSE file for more info.

About

A controller to manage the traversal of a collection of textields

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 60.1%
  • Swift 30.6%
  • Objective-C 4.9%
  • Ruby 4.4%