Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 2.43 KB

CHANGELOG.md

File metadata and controls

59 lines (38 loc) · 2.43 KB

3.3.2 (2021-08-11)

  • Added Swift Package Manager support.

3.3.1 (2021-04-20)

  • Fixes a regression in 3.3 which caused a crash on iOS 12. Turns out that availability flag for lineBreakStrategy only works on iOS 13+!

3.3 (2021-04-02)

  • Fixes tappability of regions relocated to a new line to avoid single-word last lines by UILabel. This requires compiling using Xcode 12, but works backwards-compatibly.
  • Fixes accessibility elements sometimes exposing more than 1 element per tappable span.

3.2 (2020-04-17)

  • Fixes handling accessibility element activation that spans multiple lines.

3.1 (2019-05-03)

  • Adds accessibilityDelegate method to override accessibilityLabel of constituent elements.
  • Fixes accessibility elements not resetting when text changed.

3.0 (2019-04-24)

  • Updates touch handling, improving the long-press experience and adding support for 3D Touch.
  • Introduces an accessibility delegate, to provide actions for links within the label.
  • Adds the ability to get attributes at a point, particularly for use with 3D Touch.
  • Updated examples for Xcode 10.2 and Swift 5 (the pod itself did not need updates).
  • Fixes long press delegate call not being invoked unless there was a foreground or background highlight state.
  • Fixes not handling adjustsFontForContentSizeCategory. Note that you do need to specify a NSFontAttributeName attribute for this to work, even on vanilla UILabel, when you are setting attributedText.
  • Now requires iOS 10 or later, specifically for -[UIAccessibilityElement accessibilityFrameInContainerSpace].

2.0 (2017-10-16)

  • Updated for Xcode 9 (and Swift 4).

1.3.1 (2017-05-12)

  • Fixes some cases where the last line in a label, when sized to fit, would not be tappable on iOS 10.

1.3 (2015-12-20)

  • Long press support: set a longPressDelegate (like tapDelegate) and be notified when the user long-presses.

1.2 (2015-12-05)

  • Adds annotations for nullability and generics to ease Swift import.
  • Fixes a couple Interface Builder issues:
    • Flag the delegate as an IBOutlet so it can be assigned.
    • Fix text being cleared/unset if only set via the IB editor.
  • Fixes text alignments other than left set on the label rather than via NSParagraphStyle.
  • Fixes VoiceOver element positions when placed inside a UIScrollView.

1.1 (2015-05-31)

  • VoiceOver support
  • Removes -setText: unavailability (though you should still use -setAttributedText:)

1.0 (2015-05-28)

Initial release