TextKit Best Practices
TextKit Best Practices
WWDC 2018
What is TextKit?
Choosing the Right Control
What about string drawing?
- Use for small amounts of text
- Limit drawing frequency
- Limit number of custom attributes
Correctness
Beware of Default Attributes
It’s going to take the first paragraph style it finds
and apply it to the entire paragraph.