Open AccuPhoenix01 opened 3 years ago
SwiftUI doesn't treat UIFonts like its own SwiftUI Font class, so by default using the same paradigm of the pod doesn't work. Would be great to have baked-in SUI support that can use the same syntax as before.
BTW, I love Swash and has made it easy to use in new AccuWeather app. 🤩
Swash
this might be as easy as: let swashFont = Solis.black.of(size: 18) as CTFont
let swashFont = Solis.black.of(size: 18) as CTFont
then
Text("words") .font(Font(swashFont))
and really not require any change.
SwiftUI doesn't treat UIFonts like its own SwiftUI Font class, so by default using the same paradigm of the pod doesn't work. Would be great to have baked-in SUI support that can use the same syntax as before.
BTW, I love
Swash
and has made it easy to use in new AccuWeather app. 🤩