Create an app playground in Swift Playgrounds on Mac
When you’re ready to create your own app, you can start a new app playground.
In the Swift Playgrounds app on your Mac, go to the My Playgrounds window.
If you’re in the More Playgrounds window, click at the top left.
If you’re working in a playground, choose Window > My Playgrounds.
Click the App button at the bottom left of the My Playgrounds window to create a new app playground.
Your new app playground—named My App—appears in the My Playgrounds window. You can double-click the app to open it.
Your app has placeholder code in it.
You can change the icon for your new app playground. See Create an app icon.
To add code to your app playground, see Enter code in an app playground.
See the Swift Playgrounds developer document to learn about writing app playgrounds, using sample code, and creating and sharing learning experiences in Swift Playgrounds.