Write SwiftUI in a Swift Playgrounds App Project, Not a Regular App Project!
Daily Coding Tip 090
haven’t really messed around with this option, which appears as a template when you select File > New > Project… in Xcode.
Confusingly File > New > Playground… does not contain the same option, but it does have a Single View template that is entirely based in UIKit, not SwiftUI.
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.