Latest 0.2
Homepage https://github.com/liyong03/YLTextView
License MIT
Platforms ios 6.0, requires ARC
Frameworks UIKit
Authors

UITextView subclass with placeholder, it supports Arabic language which is Right-To-Left.

How to use it

Just create the textview and set the placeholder, then add it to a view, done!

YLTextView* textview = [[YLTextView alloc] initWithFrame:CGRectMake(10, 30, 300, 100)];
textview.placeholder = NSLocalizedString(@"say_something", nil);
[self.view addSubview:textview];

Screen shots

Here are two screen shots for English and Arabic, it shows two kinds of text including LTR and RTL:

YLTextView
YLTextView

Latest podspec

{
    "name": "YLTextView",
    "version": "0.2",
    "summary": "UITextView subclass with placeholder.",
    "description": "UITextView subclass with placeholder, it supports Arabic language which is Right-To-Left.",
    "homepage": "https://github.com/liyong03/YLTextView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "liyong03": "[email protected]"
    },
    "social_media_url": "http://twitter.com/liyong03",
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/liyong03/YLTextView.git",
        "tag": "0.2"
    },
    "source_files": [
        "YLTextView",
        "YLTextView/**/*.{h,m}"
    ],
    "frameworks": "UIKit",
    "requires_arc": true
}

Pin It on Pinterest

Share This