Products, services, and OS functions
may not be available in this country.
Global Nav Open Menu
Global Nav Close Menu
Apple
Apple
Mac
iPad
iPhone
Watch
AirPods
TV & Home
Only on Apple
Support
Where to Buy
Swift Playgrounds User Guide
Open Menu
Close Menu
Communities
Table of Contents
Welcome
Get started
Learn to code
Get started with apps
Create an app
Use and create playgrounds
Manage playgrounds and app projects
Work in an app
Explore apps
Add Swift files, images, and Swift packages
Enter code in an app
Run your app
Hide, show, or resize an App Preview
Create an app icon
Work in a playground
Enter code in a playground
Run code
Work with shared files
Work with pages
Reset a playground
Use the Swift documentation
Share a playground or app project
Copyright