Skip to content

A controller that manages focus and traversal for a collection of textfields.

License

Notifications You must be signed in to change notification settings

danielinoa/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 by Safari when traversing through an HTML 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 that manages focus and traversal for a collection of textfields.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published