CoreTextLabel

MIT License
Objective-C
iOS

1 image

Author

Description

With CoreTextLabel you are able draw NSAttributedString or HTML with custom font and color in iOS (>= 5.0) applications. numberOfLines and truncation (NSLineBreakByTruncatingTail) is also supported.

Example:

CoreTextLabel* label  = [[CoreTextLabel alloc] initWithFrame:frame];
label.html = htmlString;
[label sizeToFit];
[self.view addSubview:label];

Tags