1.4.0
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