Andrew Zheng
Oct 15, 2021

--

Thanks for the catch! Seems like the latest version of Xcode did change some stuff. Try `Text("Strikethrough") { $0.strikethroughStyle = Text.LineStyle(pattern: .solid, color: .red) }` instead — I'll update the article.

--

--

Andrew Zheng

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