
This video is only available to subscribers. Start a subscription today to get access to this and 477 other videos.
Styling Text with Attributed Strings
Episode
#477
|
13 minutes
| published on
February 10, 2021
| Uses Swift-5.3, Xcode-12.4
Subscribers Only
To work with styled text we'll use NSAttributedStrings, which allow us to apply styles to ranges of text. Doing this in code is a bit more cumbersome than in storyboards, but allows us to control things like font size, color, style, kerning, line spacing and more.
This episode is part of a series: Layout in Code.