Closed elfanek closed 2 years ago
Thank you for the PR! I tried running this snippet on iOS 15 in the simulator and ran into two issues.
.italic
is AppKit syntax? It appears not to compile on iOS using UIKitTextFormattingRule
appears to not apply the given color in the simulator if given Color.red
. My understanding was the old NSAttributedString
API did not accept Color
values. Ah I was building for macOS, good catch!
:)