Skip to content

liyong03/YLTextView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YLTextView

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:

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published