Latest 0.1.0
Homepage https://github.com/Sega-Zero/SZAutogrowTextView
License MIT
Platforms ios 7.0, requires ARC
Authors

Build Status
Pod Version
Pod Platform
Pod License

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.

Latest podspec

{
    "name": "SZAutogrowTextView",
    "version": "0.1.0",
    "summary": "Yet another autogrow UITextView subclass.",
    "homepage": "https://github.com/Sega-Zero/SZAutogrowTextView",
    "license": "MIT",
    "authors": {
        "u0421u0435u0440u0433u0435u0439 u0413u0430u043bu0435u0437u0434u0438u043du043eu0432": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Sega-Zero/SZAutogrowTextView.git",
        "tag": "0.1.0"
    },
    "social_media_url": "https://twitter.com/SegaZero",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*"
}

Pin It on Pinterest

Share This