AttributedStrings in TextState #1057
thebarndog
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In iOS 15, SwiftUI introduced
AttributedString
, a new fancy api for building up attributed strings. Are there any plans to support the api in TextState? I find myself having to do things likeTextState("string").font(myCustomFont) + TextState("other string").foregroundColor(.blue)
when it would be much cleaner IMO to do the configuration in the attributed string and just create a singleTextState
instance.Beta Was this translation helpful? Give feedback.
All reactions