Working on a SwiftUI Project in Xcode and Swift Playgrounds
You have a Mac with Xcode and an iPad with Swift Playgrounds. You have a project that you want to develop using both devices. How do you create a project that you can edit in both Xcode and Swift Playgrounds?
Create a Swift Playgrounds App project in Xcode. This project template is designed to work in both Xcode and Swift Playgrounds.
The Swift Playgrounds App project is in the iOS section of the New Project Assistant in Xcode.