Use AttributedString in SwiftUI Before iOS 15

Surely Nobody Needs To?

Steven Curtis

--

Photo by Amie Bell on Unsplash

The Problem

Before iOS 15 AttributedString for SwiftUI wasn’t a thing. Something which might produce the following result:

--

--