Another attributed label using CoreText
- Multi-line Rich Text Display
- Auto Link Detection and Custom Links Supported
- Embedding Image and Custom Views
- Following Properties Supported:
font
textColor
highlightColor
linkColor
underLineForLink
numbersOfLines
(Truncates Last Line Supported)textAligment
lineBreakMode
lineSpacing
paragraphSpacing
shadowColor
shadowOffset
shadowBlur
- iOS5 or later
- ARC required
pod 'M80AttributedLabel'
git clone https://github.com/xiangwangfeng/M80AttributedLabel.git
- Copy files in
Class/M80AttributedLabel
to your project - Add
CoreText.framework
to your target
- https://github.com/xiangwangfeng
- http://www.xiangwangfeng.com
- [email protected]
- http://weibo.com/epmao
M80AttributedLabel is available under the MIT license. See the LICENSE file for more info.