Alongside iOS 10, tvOS 10, and watchOS 3, Apple today officially released Swift Playgrounds, a new app aimed at teaching both children and adults how to code through simple interactive coding exercises. It's meant to make learning to code "easy and fun" for everyone.

First announced in June at WWDC, Swift Playgrounds is meant for beginners who have no experience with coding, and it will be deployed in numerous schools around the world as standard curriculum.
Swift Playgrounds

"Everyone should have the opportunity to learn coding, and we are excited to bring Swift Playgrounds to the next generation of programmers looking for a fun and easy way to explore key coding concepts using real code," said Craig Federighi, Apple's senior vice president of Software Engineering. "More than 100 schools around the world have already committed to adding Swift Playgrounds to their fall curriculum, and we can't wait to see what students create with it."

Swift Playgrounds is organized into a series of lessons that introduce new concepts and guide users through challenges and puzzles. It's centered on three characters that need to be guided through a graphical world using coding concepts like issuing commands, creating functions, performing loops, and using conditional code and variables. Apple plans to release new lessons on a regular basis.

The app also includes built-in templates that can be modified to create customized programs that can be shared with friends and family, and Swift Playgrounds code can be exported directly to Xcode to be turned into a full iOS or Mac app.

Swift Playgrounds is compatible with all iPad Air and iPad Pro models, along with the iPad mini 2 and later. iOS 10 is required to download the app, which is available for free from the App Store.

Top Rated Comments

ianKent Avatar
60 months ago
I wish it was available on all apple platforms.
Score: 5 Votes (Like | Disagree)
CarlJ Avatar
60 months ago
Swift Playgrounds for Apple Watch please. I can dream.
Why not on the iPod shuffle? Do we really need a display to learn?
Score: 3 Votes (Like | Disagree)
firewood Avatar
60 months ago
Wish this was available on my Mac. Coding would be easier on a computer than on a touch surface imo.
It is!

Download Xcode 8 from the Mac App store. It's free and includes being able to run Swift Playgrounds. Tons of online tutorials.
Score: 3 Votes (Like | Disagree)
Ben2998 Avatar
60 months ago
Next step: Xcode for iOS. Build and release from your iPad so they can stop selling the MacMini.
Score: 2 Votes (Like | Disagree)
jonblatho Avatar
60 months ago
Oh, seriously? The same Swift Playgrounds as on the iPad?
It doesn't include the lessons, so you have to start from scratch, but on the Mac, you get the benefit of live compiling (no need to press "Run My Code" unless you specifically turn automatic running off).
Score: 1 Votes (Like | Disagree)
Amazing Iceman Avatar
60 months ago
iTunes U has good courses from Stanford available for free that cover Xcode and iOS 9, but the basic parts of Swift haven't changed since then so it's still a relevant course. I learned a lot from the "build your own calculator" app. Was amazing to me how quickly I went from installing xcode (and being utterly lost) to writing and installing my own app on my phone. Was about 30-45 minutes. (First app didn't *do* anything except had calculator buttons and a readout display for the buttons pushed. Took a lot longer to get to finished product.) The iBook is great, but when I'm totally new video is more helpful for me.

I'm hoping Swift Playgrounds gets expanded so that it will actually let you build and install apps on the same device it's running on. That would be ground breaking, never seen before functionality in a major mobile os.

In playgrounds, I understand why Apple made the app so flashy with the waterfalls and very animated guy, but I really think it does a disservice to complete newcomers who may not realize that the effort to replicate such from scratch will probably never in their lifetime be within reach. Then again, as we move to higher level languages, "from scratch" will continue to be "soften". Like moving from assembler.
Stanford's iTunes-U course is too slow and doesn't cover much.
Check U-Demy iOS 10 course by Rob Percival.
Score: 1 Votes (Like | Disagree)

Top Stories

siir apple event april 20

Siri Reveals Apple Event Planned for Tuesday, April 20

Tuesday April 13, 2021 12:04 am PDT by
Siri has apparently prematurely revealed that Apple plans to hold an event on Tuesday, April 20, where the company is expected to reveal brand new iPad Pro models and possibly its long-awaited AirTags trackers. Subscribe to the MacRumors YouTube channel for more videos. Upon being asked "When is the next Apple Event," Siri is currently responding with, "The special event is on Tuesday, April...
apple event spring loaded

Apple's 'Spring Loaded' Event Officially Announced for Tuesday, April 20

Tuesday April 13, 2021 9:04 am PDT by
Following an overnight leak by Siri, Apple today officially announced that it will be holding a special "Spring Loaded" event on Tuesday, April 20 at 10:00 a.m. Pacific Time at the Steve Jobs Theater on the Apple Park campus in Cupertino, California. As with all of Apple's 2020 events, the April 2021 event will be a digital-only gathering with no members of the media invited to attend in...
Google maps feaure green

Google Maps App for iOS Finally Updated After Four Months

Monday April 12, 2021 10:03 am PDT by
Following the completed rollout of App Privacy labels for its App Store apps, Google today updated the Google Maps app for the first time in four months. Apple in December began requiring all new app submissions and app updates to include App Privacy labels, detailing the data that is collected by the app so consumers know what they're sharing. Google didn't begin implementing App Privacy ...
pixel watch prosser leak

Google Pixel Watch Allegedly Leaks with Circular Design, Rumored to Launch in October

Monday April 12, 2021 2:49 am PDT by
Renders of Google's first smartwatch, codenamed "Rohan," have been shared by Jon Prosser, showing that Google plans to adopt a circular design for its flagship wearable watch. Prosser shared the renders in an episode of his YouTube show "Front Page Tech," in which he claims they were made based on marketing material he had seen from a source within Google. The renders show that the Pixel...
apple event hashflag

Twitter Hashflag for April 20 Apple Event Goes Live

Tuesday April 13, 2021 2:21 pm PDT by
Following the overnight Siri leak and subsequent announcement that Apple will hold a media event on Tuesday, April 20, a new Twitter hashflag has appeared to help provide visibility for the event on the platform. For the last several recent events, Apple has utilized hashflags, which are little icons next to hashtags on Twitter, as a way to market its events. The company first started the...
macos catalina serial number

Apple Preparing Rollout of New Randomized Product Serial Numbers Ahead of 'Spring Loaded' Event

Wednesday April 14, 2021 2:08 am PDT by
Apple is advising its authorized premium resellers and dealers to prepare for new products with 10 and 12 digital serial numbers, days ahead of when it's expected to reveal a slew of new products. MacRumors previously reported that Apple plans to switch to randomized serial numbers for future products starting in early 2021. The company now seems to be preparing for that roll-out, telling...
iphone12cameras

Kuo: 2022 iPhones to Feature 48-Megapixel Camera, 8K Video, and 6.1 and 6.7" Sizes With No 5.4" Mini Option

Tuesday April 13, 2021 10:45 pm PDT by
The upcoming 2022 iPhone lineup will feature two 6.1-inch devices and two 6.7-inch devices, with no mini-sized 5.4-inch iPhone, well-respected Apple analyst Ming-Chi Kuo said in a note to investors that was seen by MacRumors. Two of the iPhones will be high-end models and two of the iPhones will be lower-end models, similar to the current iPhone 12 lineup. Apple introduced the 5.4-inch...
AppleTV and HomePod Feature

Bloomberg: Apple Working on New Apple TV With Integrated HomePod Speaker and FaceTime Camera

Monday April 12, 2021 3:32 am PDT by
Apple is working on a combined Apple TV with HomePod speaker that has a camera for video calls through a connected television set, according to Bloomberg's Mark Gurman. From the report: The company is working on a product that would combine an Apple TV set-top box with a HomePod speaker and include a camera for video conferencing through a connected TV and other smart-home functions,...
epic iap feature 3

Tim Cook Says App Store Would Become a 'Flea Market' if Third-Party Payment Systems Were Allowed

Monday April 12, 2021 9:41 am PDT by
In a recent interview with the Toronto Star, Apple CEO Tim Cook spoke about a wide variety of topics, ranging from App Tracking Transparency to Apple's ongoing legal battle over App Store policies with Fortnite creator Epic Games. Notably, Cook said that Epic Games' desire for Apple to let developers offer their own payment systems in apps "would make the App Store a flea market":At the...
tim cook toronto star

Tim Cook Says Apple is 'Not Against Digital Advertising' Ahead of iOS 14.5 Launch With App Tracking Transparency

Monday April 12, 2021 8:00 am PDT by
Starting with iOS 14.5, iPadOS 14.5, and tvOS 14.5, Apple will be requiring apps to receive a user's permission to track their activity for targeted advertising purposes, as part of a privacy measure known as App Tracking Transparency. Ahead of App Tracking Transparency being enforced, Apple CEO Tim Cook has participated in a privacy-focused interview with the Toronto Star, telling the...