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

Markdown, colors, and formatting — it’s never been easier

Image Credit: author

Attributed Strings have always been hard to work with. The most basic implementation, in UIKit, would be something like this:

This is bad enough, but it’s even worse for SwiftUI. The current accepted answer on Stack Overflow uses UIViewRepresentable and some other unnecessarily complex code. However, that was the…

It’s supposed to be a “feature”

Info.plist missing from the project navigator
Image by the author.

If you’ve created a new SwiftUI app using Xcode 13, you’ll notice that Info.plist is gone. It’s not a bug. According to the Xcode 13 release notes:

“Projects created from several templates no longer require configuration files such as entitlements and Info.plist files. Configure common fields in the target’s Info…

Andrew Zheng

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store