A custom AttributedLabel using TextKit to replace UILabel. You can customization truncationToken, lineSpacing and backgroundColor, and also you can add custom view attachments.
To run the example project, clone the repo, and run pod install from the Example directory first.
iOS 8.0 +.
DAAttributedLabel is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'DAAttributedLabel'DarkAngel7, [email protected]
DAAttributedLabel is available under the MIT license. See the LICENSE file for more info.