iOS 15 Brings Attributed Strings to SwiftUI

Markdown, colors, and formatting — it’s never been easier

Andrew Zheng
Better Programming
Published in
3 min readJun 8, 2021

--

Image Credit: author

Attributed Strings have always been hard to work with. The most basic implementation, in UIKit, would be something like this:

--

--

WWDC21 Scholar. I like to read manga and write about Swift. Check out my app, Find — look for text in real life, with outrageous speed. getfind.app