CharacterCounter 1.0

CharacterCounter 1.0

Maintained by Javal Nanda.



  • By
  • Javal Nanda

CharacterCounter

[![CI Status](https://img.shields.io/travis/Javal Nanda/CharacterCounter.svg?style=flat)](https://travis-ci.org/Javal Nanda/CharacterCounter) Version License Platform

Example

To run the example project, clone the repo, and run the target CharacterCounterExample.

Requirements

Installation

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

pod 'CharacterCounter'

Usage

You can use this component as a keyboard accessory view or add as a subview to view whatever suits your requirement. Refer to the examples in ViewController file in CharacterCounterExample folder.

The component handles the delegate for textfield/textview. If you wish to manage it yourself for updating button states or any other requirements based on text changes, you can simply implement the delegates in your viewcontroller and call updateCharacterCount() method of the component to update the counter text.

Author

Javal Nanda, [email protected]

License

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