Manage playgrounds in Swift Playgrounds on Mac
In the My Playgrounds window, you can view the playgrounds you’ve downloaded or created. You can add, duplicate, rename, share, or delete playground books or app playgrounds. You can also reset playground books.
Note: Playgrounds with under their title haven’t been opened yet.
View playgrounds you’ve downloaded or created
In the Swift Playgrounds app on your Mac, go to the My Playgrounds window by doing any of the following:
If you’re in the More Playgrounds window, click .
If you’re working in a playground, choose Window > My Playgrounds.
Open a playground
In the Swift Playgrounds app on your Mac, go to the My Playgrounds window (choose Window > My Playgrounds or click at the top left of the More Playgrounds window).
Note: If the playground you want to open isn’t in the My Playgrounds window (if, for example, you received it from someone else), choose File > Import Playground, then locate the playground.
Double-click the playground.
If you open a playground from someplace other than the My Playgrounds window (such as iCloud Drive), any changes you make to it are saved with the playground in the location you opened it from.
Add or delete a playground
In the Swift Playgrounds app on your Mac, go to the My Playgrounds window (choose Window > My Playgrounds or click at the top left of the More Playgrounds window), then do any of the following:
Add a playground: Click a playground in the More Playgrounds section at the bottom.
You can also click See All near the bottom right, then click Get next to a playground in the More Playgrounds window.
Delete a playground: Control-click the playground, then choose Move to Trash.
Duplicate or rename a playground
In the Swift Playgrounds app on your Mac, go to the My Playgrounds window (choose Window > My Playgrounds or click at the top left of the More Playgrounds window), then do any of the following:
Duplicate a playground: Control-click the playground, then choose Duplicate.
Rename a playground: Control-click the playground, choose Rename, then enter a new name.
Search for or view more playgrounds
In the Swift Playgrounds app on your Mac, go to the My Playgrounds window (choose Window > My Playgrounds or click near the top left of the More Playgrounds window), then do any of the following:
Search for a playground: Enter part or all of the name of the playground in the filter field at the top right.
Only playgrounds whose names contain your search text appear.
View more playgrounds: Click See All near the bottom right.
Note: After you update to a new version of Swift Playgrounds, it may try to update your existing playground books to work with the new version. If you have a playground book that worked in an older version of Swift Playgrounds but doesn’t work in the new version, try closing it, closing Swift Playgrounds, and then reopening them. If that doesn’t work, click See All near the bottom right to go to the More Playgrounds window, then click Get to download a new copy of the playground.