Hvis denne funktion ændres, opdateres denne side automatisk
Create an app in Swift Playgrounds on Mac
When you’re ready to create your own app, you can start a new app project.
In the Swift Playgrounds app on your Mac, go to the My Playgrounds window.
If you’re on the More Playgrounds screen, click at the top left.
If you’re working in a playground or an app project, choose Window > My Playgrounds.
Click the App button at the bottom left of the My Playgrounds window to create a new app.
Your new app—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, and the result of that code appears in the App Preview in the right sidebar.
When you’re ready, you can try adding your own code.