Swift Playgrounds is a revolutionary app for 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, while additional challenges let you explore code and create programs that are engaging and unique.
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. And because it’s built to take full advantage of iPad and the real iOS SDK, Swift Playgrounds is a first-of-its-kind learning experience.
• 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 with a finger and pinch to zoom
• 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 covers a comprehensive list of common terms, or tap a word in the instructions for additional help
Explore and create
• Challenges encourage experimentation and creativity by playing with game logic, music, and various other themes
• New challenges are released regularly to keep improving your emerging coding skills
• 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, images, sounds, and files within a program to make it uniquely yours
• Templates are a head start to create your own programs that use graphs, graphics, touch, or a chat with the computer
• Create your own playgrounds from scratch to take your coding skills to entirely new places
• Reset any page to start over, or duplicate and rename any document to give a family member their own copy
Built for touch
• Quick Type suggestions for code are so smart you can write entire programs in just a few taps, no keyboard required
• Tap and hold to grab any command and move it around to change the order of your code
• Drag a brace with your finger to wrap a block of code inside a loop or conditional statement
• Drag and drop snippets of commonly-used code directly into your playground
• Tap a number or color in your code to display a pop-up in which to enter a new value or choose from a color picker
• Amazing new coding keyboard has all the common Swift characters, just swipe to pick the alternate symbol on any key
Real Swift and iOS code
• Learn the same powerful Swift programming language used by the pros to create thousands of apps in the App Store
• Access iOS frameworks such as SpriteKit for 2D games, SceneKit for 3D graphics, UIKit, and more
• Your code has direct control of iPad hardware such as the gyroscope, accelerometer, camera, and touch events
• Use Bluetooth APIs to write programs that control robots and other real-world devices with your iPad
• Every concept and skill you learn directly applies when writing real apps
• Send your creations to friends and family using Messages, Mail, AirDrop, or other Share Sheet extensions
• Record a video of yourself coding or running your creation, complete with your own voice narration
• Broadcast a coding session live to the world using any streaming service app that supports ReplayKit
• Homework hand-in with iTunes U makes it easy to bring coding into the classroom
• Turn on iCloud Drive to enable Xcode on your Mac to edit and extend the same documents that are on your iPad
Swift Playgrounds requires a 64-bit iPad with iOS 10 or later, including iPad mini 2 or later, iPad Air or later, or iPad Pro
• Add your own shared Swift files to your playgrounds
• Code in your shared Swift files is available to all pages within your playground book
• New Learn to Code playgrounds show how to use Swift files to build your own camera and photo editor
• New Sonic Workshop challenge uses Swift files to create a sound stage with your own instruments
• Tap and drag in the middle of the screen to dedicate more space to your code, or to the live view
• Speed control button can toggle results for each line of code, giving you a powerful debugging tool
• Code errors are grouped into a single pop-over so you can quickly jump to any issue
• Comments and strings within the code are localized for all supported languages
Advanced features for authors and educators:
• Add your own modules and shared Swift files to create powerful new content directly within the app
• Administrators can control user subscriptions via MDM
• Swift 5 is the default version for all new content
Ratings and Reviews
As a previous reviewer mentioned, this app takes the dullness out of learning how to program. Even as an adult, I am able to enjoy this learning process. I was an amateur programmer in high school, so I believe that for me to say this is a wonderful way to learn and/or brush up your basics for programming logic is quite a statement for what the developers have created.
The team who created this executed the interface in a very intuitive design; something I find quite uncommon with these "learn to program" apps. I would love to help spread the word about this app so it is not abandoned. Kudos to the Apple team!!! Please keep up the awesome work! Even adults need a more stimulating environment for expanding their skill set.
There are a lot of people mentioning device incompatibility and software bugs. I am running this on an iPad Mini 2. The bugs I have encountered are minor and do not interrupt my progress in a truly time consuming way. Typically, the little map won't load, so I will go back to the previous lesson then return and all will load normally.
Awesome app for swift coding
This app is helping me learn a LOT about swift. I’m about to get Xcode on my computer so I REALLY need to learn swift and this app is teaching me everything I need to know for Xcode. The only bug I found was that sometimes the app crashed when I wrote a really long function and a visual error where if you find one of those arched holes inside the island (where water usually comes out from) you can see clear out the other side even though the other side appears solid. I know it’s not that big of a bug, but can you please consider fixing it? I’m just paranoid that it will show up somewhere and I won’t be able to get around it.
Otherwise, GREAT app.
What a beautiful and engaging app - exactly what I've been looking for - and it's free?! These mini-puzzles are an excellent and entertaining way to learn for anyone new to coding. It really adds color to what would otherwise be a pretty bland learning experience. I also personally find it addictive. I've been working on it for several hours straight and can't wait to finish the rest. I really hope that Apple continues to offer this sort of education style.
This really helps with getting over the hump. Thank you!!
- Apple Inc.
- 278.2 MB
Requires iOS 11.3 or later. Compatible with iPad.
English, Dutch, French, German, Italian, Japanese, Korean, Portuguese, Simplified Chinese, Spanish, Swedish, Thai, Traditional Chinese, Turkish
- Age Rating
- Rated 4+
- © 2016 - 2019 Apple Inc. All rights reserved.
With Family Sharing set up, up to six family members can use this app.