Skip to content

1.4.0

Choose a tag to compare

@michaelloistl michaelloistl released this 27 Feb 12:20
· 17 commits to master since this release

Breaking Changes

  • Remove textAttachment delegates

func contextLabel(_ sender: ContextLabel, colorForTextAttachment textAttachment: NSTextAttachment) -> UIColor

func contextLabel(_ sender: ContextLabel, prefixForTextAttachment textAttachment: NSTextAttachment) -> String

func contextLabel(_ sender: ContextLabel, suffixForTextAttachment textAttachment: NSTextAttachment) -> String

  • Remove textAttachment closures

var textAttachmentColor: (NSTextAttachment) -> UIColor

var textAttachmentPrefix: (NSTextAttachment) -> String

var textAttachmentSuffix: (NSTextAttachment) -> String

Enhancements

  • Add link type .phoneNumber