Latest 0.1.1
Homepage https://github.com/thiagotmb/TBTextViewWithCharLimit
License MIT
Platforms ios 8.0, requires ARC
Authors

Version
License
Platform

alt tag
alt tag
alt tag

Usage

Add to your podfile

pod "TBTextViewWithCharLimit"
//Import
#import "TextViewWithCharLimit.h"

//Setup
@interface MyClass () <,TextViewWithCharLimitDelegate>

TextViewWithCharLimit *textField = TextViewWithCharLimit(frame: self.view.frame)
textField.myDelegate = self;
textField.backgroundColor = [UIColor colorWithWhite:1.0 alpha:0.2];
textField.charMax = 105;
textField.placeholderText = @"Empty field";

//Delegates 
-(void)textViewWithCharLimit:(TextViewWithCharLimit *)textViewWithCharLimit shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text{

}

To run the example project, clone the repo, and run pod install from the Example directory first.

Requirements

IOS 8.0

Installation

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

pod "TBTextViewWithCharLimit"

Author

thiagotmb, [email protected]

License

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

Latest podspec

{
    "name": "TBTextViewWithCharLimit",
    "platforms": {
        "ios": "8.0"
    },
    "summary": "TBTextViewWithCharLimit provide to developers a text view with char limit and word count.",
    "requires_arc": true,
    "version": "0.1.1",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Thiago Bernardes": "[email protected]"
    },
    "screenshots": [
        "https://raw.githubusercontent.com/thiagotmb/TBTextViewWithCharLimit/master/Screenshots/0.png",
        "https://raw.githubusercontent.com/thiagotmb/TBTextViewWithCharLimit/master/Screenshots/1.png",
        "https://raw.githubusercontent.com/thiagotmb/TBTextViewWithCharLimit/master/Screenshots/2.png"
    ],
    "homepage": "https://github.com/thiagotmb/TBTextViewWithCharLimit",
    "source": {
        "git": "https://github.com/thiagotmb/TBTextViewWithCharLimit.git",
        "tag": "0.1.1"
    },
    "source_files": "TBTextViewWithCharLimit/*"
}

Pin It on Pinterest

Share This