Take the edge off of coding in UIKit Formerly published in 2017 as SpratUIKitLeitmotifs, now available as a Swift package.
|Last commit: 2 weeks ago|
Adds a fully auto-layout compliant AttributedLabel, which not only draws attributed strings using CoreText, but also can tell where you tapped in the string. As a convenience, it can search a little ways left or right of the actual touch point and find a .link attribute. Also allows you to set a highlighted range, and it will draw a special background behind that across as many lines as it takes.