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 app playgrounds
Create an app playground
Use and create playground books
Manage playgrounds
Work in an app playground
Explore app playgrounds
Add Swift files, images, and Swift packages
Enter code in an app playground
Run your app
Hide, show, or resize an App Preview
Create an app icon
Work in a playground book
Enter code in a playground book
Run code in a playground book
Work with shared Swift files
Work with pages
Reset a playground book
Use the developer documentation
Share a playground
Copyright