Skip to content

Releases: mattdonnelly/MDHTMLLabel

1.0.2

06 Mar 12:59
Compare
Choose a tag to compare
  • Fixed crash caused by nested anchor tags
  • Fixed crash caused by spaces in tag properties
  • Fixed links not being cleared when re-using an instance of MDHTMLabel

1.0.1

08 Feb 00:18
Compare
Choose a tag to compare
  • Fixed issue with URL detection

1.0

16 Jan 18:38
Compare
Choose a tag to compare
1.0
  • Implement NSCoding Protocol
  • Fix issues with interface builder

0.0.6

14 Jan 22:12
Compare
Choose a tag to compare
  • Fixed intrinsicContentSize not being updated when repeatedly setting text
  • Fixed issue caused by cell reuse

0.0.5

14 Jan 22:07
Compare
Choose a tag to compare
  • 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 to setHtmlText:
  • Cleaned up a lot of the code

0.0.4

12 Jan 01:44
Compare
Choose a tag to compare
  • Now subclasses UILabel instead of UIView, providing access to all of UILabels properties
  • Must assign HTML text to htmlText property instead of text property
  • Uses NSAttributedString or Core Text attribute names for link styling (e.g. NSForegroundColorAttributeName and kCTForegroundColorAttributeName)
  • selectedLinkAttributes property renamed to activeLinkAtrributes
  • Added inactiveLinkAttributes property to style links when the tintColor 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

05 Dec 16:16
Compare
Choose a tag to compare
  • Added font tag support
  • Fixed issues with text alignment

0.0.2

13 Nov 14:07
Compare
Choose a tag to compare
  • Added text shadow properties
  • Added autoresizing support
  • Fixed unicode characters not fitting on some lines
  • Fixed URL detection

0.0.1

09 Nov 00:35
Compare
Choose a tag to compare

First version