Releases: mattdonnelly/MDHTMLLabel
Releases · mattdonnelly/MDHTMLLabel
1.0.2
1.0.1
- Fixed issue with URL detection
1.0
- Implement NSCoding Protocol
- Fix issues with interface builder
0.0.6
- Fixed
intrinsicContentSize
not being updated when repeatedly setting text - Fixed issue caused by cell reuse
0.0.5
- Fixed issues with
adjustsFontSizeToFitWidth
and highlighted state properties - Re-added URL detection which somehow got removed during some debugging
- Only redraw text upon calling
setHtmlText:
. This means Any properties changed on the label after setting the text will not be reflected until a subsequent call tosetHtmlText:
- Cleaned up a lot of the code
0.0.4
- Now subclasses UILabel instead of UIView, providing access to all of UILabels properties
- Must assign HTML text to
htmlText
property instead oftext
property - Uses NSAttributedString or Core Text attribute names for link styling (e.g. NSForegroundColorAttributeName and kCTForegroundColorAttributeName)
selectedLinkAttributes
property renamed toactiveLinkAtrributes
- Added
inactiveLinkAttributes
property to style links when thetintColor
of the label changes - Handle link interaction using UIResponder instead adding UIButtons
- Added properties for highlighted shadows, paragraph styling and custom truncation tokens
0.0.3
- Added font tag support
- Fixed issues with text alignment
0.0.2
- Added text shadow properties
- Added autoresizing support
- Fixed unicode characters not fitting on some lines
- Fixed URL detection
0.0.1
First version