
Create an app playground in Swift Playground on Mac
When you’re ready to create your own app, you can start a new app playground.
In the Swift Playground app
on your Mac, click Create New App in the welcome window.
If you’re in the More Playgrounds window, click
at the top left.
If you’re working in a playground, choose Window > Welcome to Swift Playground.
Your new app playground—named My App—appears in the sidebar of the Swift Playground welcome 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 Playground developer documentation to learn about writing app playgrounds, using sample code, and creating and sharing learning experiences in Swift Playground.