Swift Playgrounds is a revolutionary app for Mac and iPad that makes it fun to learn and experiment with code. You solve interactive puzzles in the guided “Learn to Code” lessons to master the basics of coding, or experiment with a wide range of challenges that let you explore many unique coding experiences.
Swift Playgrounds requires no coding knowledge, so it’s perfect for students just starting out, from twelve to one-hundred-and-twelve. The whole time you are learning Swift, a powerful programming language created by Apple and used by professionals to build many of today’s most popular apps. Code you write works seamlessly as you move between Mac and iPad.
• Apple-created lessons guide you through the core concepts of programming by using code to solve puzzles
• See your code run in a beautiful, interactive 3D world that you can rotate and pinch to zoom using the trackpad
• Animations introduce each new coding concept at a high level before you dive into the puzzles
• Choose from three animated characters to carry out the steps of your code
• Glossary and built-in help pages give detailed information about available commands and frameworks
Explore and create
• Challenges offer many new opportunities for creativity by playing with game logic, music, and more
• Interactive coding shows the results of your code instantly, either beside the text or acted out in the live view
• Step through your code to highlight each line as it is run
• Use your own photos and images within a program to make it uniquely yours
• Starting points are a head start to create your own playgrounds that display graphics or chat with your Mac
• Create your own playgrounds from scratch to build something totally unique
• Reset any page to start over, or duplicate and rename any playground to try different ideas
Built for Mac
• Code suggestions let you write entire programs in just a few clicks of the mouse
• See help along side code suggestions to learn about the available commands
• Click and drag a brace to wrap a block of code inside a loop or conditional statement
• Drag and drop snippets of commonly-used code directly into your playground
Real Swift code
• Learn the same powerful Swift programming language used by the pros to create thousands of apps
• Take your Swift coding skills to the next level using Xcode to develop an app you publish on the App Store
• Access powerful frameworks such as SpriteKit for 2D games, SwiftUI for app interfaces, and more
• Use Bluetooth APIs to write programs that control robots and other real-world devices
• Concepts and skills you learn directly apply when writing real apps
• Send your creations to friends and family using Messages, Mail, AirDrop, or other Share Sheet extensions
• Start a playground on your Mac, then open on your iPad using iCloud to continue the project
• Console area shows the output of your print() statements
• Code suggestions appear much faster
• Export as a new playground to create custom lessons with a new reset point
• Fonts are resizable in the code editor
• Multiple playground documents can be opened at once as windows on the Mac desktop
Ratings and ReviewsSee All
Fun learning environment
I've programmed since the advent of personal computers, and did it professionally for over 30 years, and enjoyed many environments, like Turbo Pascal, but Swift Playgrounds is the most fun.
It'd be accessible to kids and non-programmers, and as a dad whose kids were raised with Macs, I wish this had been available to them. Even with the years I have behind me in a bunch of different languages, I find this entertaining. And, even though I'm retired now and don't have to program, I keep my fingers in it to help others, and play with the Playgrounds to learn Swift.
Way to go Apple!
Great App but has some issues
I love it so far and find it great in almost every way. I do run into the following problem fairly consistently though.
If I have to stop in the middle of a lesson for about any reason, and need to close the app. Every once in a while it will throw a "cannot compile" error when trying to open the lesson or any of it's modules.
The only way I've been able to fix it (I've tried deleting and re-downloading the lessons, as well as resetting them with no luck) has been to delete the app and the iCloud Drive App Library, and then re-install from scratch.
Since I'm using it to learn, and not to develop, it's not devestating, but it is frustrating, hence the 4 stars. It would be 3 if XCode wasn't an option.
new shapes playground
we are excited to see the spritekit capabilities in new shapes playgrounds app. here are the limitation students found.: 1. there is no way to set bounciness propery to sprite objects physics body. 2. = sign does not appear on keyboard ribbon as it did in old shapes playground 3. '(' doesn't show on keyboard ribbon after typing the object name. which is annoying for young children. 4. position and size cannot be changed after object creation using position and size properties as they expect CGPoint and CGSize and Point and Size do not work. students were able to change the center propery easily in the old shapes playground.
Data Not Linked to You
The following data may be collected but it is not linked to your identity:
- Usage Data
Privacy practices may vary, for example, based on the features you use or your age. Learn More
- Apple Inc.
- 231.5 MB
- Requires macOS 10.15.4 or later.
English, Dutch, French, German, Italian, Japanese, Korean, Portuguese, Simplified Chinese, Spanish, Swedish, Thai, Traditional Chinese, Turkish
- Age Rating
- © 2016 - 2020 Apple Inc. All rights reserved.
With Family Sharing set up, up to six family members can use this app.