DHExpandableLabel
UILabel subclass with "more"/"less" capabilities.
Usage
let label = DHExpandableLabel()
label.numberOfLines = 2
let loremText = "Lorem ipsum dolor ..."
let attributed: [NSAttributedStringKey: Any] = [.font: label.font, .paragraphStyle: style]
label.shouldCollapse = true
label.originAttributedText = NSAttributedString(string: loremText, attributes: attributed)
## Installation
Available in [Cocoa Pods](https://github.com/CocoaPods/CocoaPods):
` pod 'DHExpandableLabel' `
## License
DHExpandableLabel is available under the [MIT license](http://www.opensource.org/licenses/mit-license.php).