AMResizingTextView 1.3.0

AMResizingTextView 1.3.0

TestsTested
LangLanguage SwiftSwift
License MIT
ReleasedLast Release Feb 2019
SPMSupports SPM

Maintained by Anthony Miller, Jett Farmer, Dominic Miller.



AMResizingTextView

Version License Platform

Usage

Just initialize a ResizingTextView just as you would a UITextView, or set the custom class of a UITextView in interface builder to ResizingTextView. No other configuration is needed!

You can listen for updates to the text view's height, use the provided delegate closures.

textView.willChangeHeight = { newHeight in
    // do something before the height changes
}

textView.didChangeHeight = { newHeight in
    // do something after the height changes
}

Installation

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

pod 'AMResizingTextView'

Author

Anthony Miller, [email protected]

License

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