Skip to content

Releases: TTTAttributedLabel/TTTAttributedLabel

2.0.0

10 May 02:49
fe0d562
Compare
Choose a tag to compare

Breaking changes:

  • Change extendsLinkTouchArea default to NO (#551)
  • Bumped the minimum iOS deployment target to 8.0
  • Removed all deprecated methods

Features:

  • Add NSAttributes support for links (#549)
  • Expose -[TTTAttributedLabel linkAtPoint:] to help with 3D Touch peeking
  • Add tvOS support
  • Addressed all warnings

Bug fixes:

  • Fix data detector crash when setting text to nil (#546)
  • Fix accessibilityElements' accessibilityFrame attribute (#458)
  • Use CGPathRelease instead of CFRelease
  • Reset framesetter when adjusting size for width (#393)
  • Fix hang due to contention between OS drawing and setText: calls

1.13.4

15 Jun 19:31
Compare
Choose a tag to compare
  • Carthage support!
  • Fixed some issues where label width is greater than text width #527
  • Fixed line drawing xOffset #528
  • Accessibility link range sanity checking #533
  • Label sizing considers attributed truncation token, if any #491
  • Marked init initializer as unavailable. Use the designated initializers initWithFrame: and initWithCoder: instead
  • Minor fixes for Xcode 7 warnings

1.13.3

18 Mar 17:22
Compare
Choose a tag to compare
  • Added block-based tap and long-press handling for links

1.13.2

17 Feb 20:42
Compare
Choose a tag to compare
  • Label links are now managed internally by the new TTTAttributedLabelLink class
  • Improved long-press gesture handling
  • Added extendsLinkTouchArea property to enable (default) or disable the new UIWebView-inspired link touch approximation added in 1.13.1

1.13.1

20 Jan 18:24
Compare
Choose a tag to compare
  • Improved link boundary detection
  • Fixed attributed text alignment drawing

1.13.0

21 Dec 01:01
Compare
Choose a tag to compare
  • Support for long-press gestures and new delegate methods
  • Fixed drawing bug for link background fill