SZAutogrowTextView 0.1.2

SZAutogrowTextView 0.1.2

Maintained by Сергей Галездинов, Sergey Galezdinov.



  • By
  • Сергей Галездинов

Build Status Pod Version Pod Platform Pod License

SZAutogrowTextView

Yet another autogrow UITextView subclass. No extra work required. No extra constraints needed. Autolayout compatible. It just works.

#Installation

##CocoaPods This class is available via CocoaPods. Write this in your Podfile:

pod 'SZAutogrowTextView'

Then run pod install or pod update

##Manual

Simply clone this repo and copy SZAutogrowTextView.h and SZAutogrowTextView.m to your project.

Usage

Assign your textview's class to SZAutogrowTextView in IB. Set the minimum and maximum constraints you need. Set animateHeightChange to NO if you don't want it's height to animate on text change. See example project to see it's working.