Learn to code while playing

Swift Playgrounds makes learning to code fun and engaging. Learn to code in Swift by playing games, solving puzzles, and guiding a character through a 3D world. Swift Playgrounds requires no coding knowledge, so it’s perfect for beginners.

Learn to code in Swift

Challenge yourself

As you learn more Swift, you can take on challenges and try running sample code to see what it does. Build on what you’ve learned to step up to more advanced playgrounds designed by Apple and other leading developers.

Explore challenges

Create a playground with Swift

As you build your coding skills, you can build fun creations of your own using the built-in templates and a library of code elements and images. Write and run your code in a predesigned template or in a playground you create from scratch.

Create a Playground

To browse the Swift Playgrounds User Guide, click Table of Contents at the top of the page.

Helpful?
Character limit: 250
Maximum character limit is 250.
Thanks for your feedback.