iOS 10: Taking a Closer Look at Apple's 'Swift Playgrounds' for iPad

At WWDC last week, Apple revealed its all-new Swift Playgrounds iPad app, which aims to help younger users learn how to code in Apple's programming language by making the experience more interactive and fun.

For those unfamiliar with Swift, the open-source language was announced by Apple at WWDC 2014, and developed over four years to be "concise and expressive" in order to make coding for iOS, Mac, Apple TV, and Apple Watch more approachable.

Swift Playgrounds
Using Swift Playgrounds, Apple invites users to "solve puzzles to master the basics using Swift" and "take on a series of challenges" to step up to more advanced creations. Swift Playgrounds requires no coding knowledge from new learners, but it also "provides a unique way for seasoned developers to quickly bring ideas to life," claims the company.

Users start out by learning the underlying concepts of coding, like commands, functions, loops, parameters, conditional code, variables, operators, types, initialization, and bug fixing. The learning takes place as users create code on the left side of the screen, while they observe the results on the right side in real time.

Learning to code with Swift Playgrounds is incredibly engaging. The app comes with a complete set of Apple-designed lessons. Play your way through the basics in "Fundamentals of Swift" using real code to guide a character through a 3D world. Then move on to more advanced concepts.

The Swift Playground interface supports the iPad's Multi-Touch capabilities, and lets students tap, drag, or type text and numbers, and then interact with their creations.

For example, tapping a number to edit it brings up a pop-up keypad, while statement boundaries can be conveniently dragged around existing code. Commonly used pieces of code can also be dragged from a Snippets Library to minimize typing.

In addition, a specially designed QuickType keyboard for coding lets users quickly access commonly used characters by holding each key, and intelligently suggests commands in the Shortcut Bar as users type.

Swift Playgrounds
Swift Playgrounds also comes with templates that are pre-loaded with advanced code to help users integrate iPad technologies like accelerometer, gyroscope, and Multi-Touch into their programs.

Students can add their own graphics and audio to these templates, and their completed code is readily shareable over Mail, Messages, and AirDrop, and they can also post video to Youtube of their programs in action.

Once users have mastered the basics with the app's built-in library of lessons, they can advance to new challenges that appear in a regularly updated App Store-like area of Swift Playgrounds. Finally, any code created in the app can also be exported to Xcode and vice versa when students are ready to take the next step.

Swift Playgrounds will be available in the iOS 10 public beta this July. The final version of the app is expected to launch for free on the App Store sometime in the fall. You can watch Apple's WWDC demo of Swift Playgrounds in action here.

Related Forum: iOS 10

Top Rated Comments

Xeroc Avatar
88 months ago
Is it just me that thought, when this was announced, that we're now one step closer to XCode for iPad?
Score: 22 Votes (Like | Disagree)
KernelG Avatar
88 months ago
I really wish they'd release this on the Mac, that other device that Apple used to make.
Score: 19 Votes (Like | Disagree)
hogo Avatar
88 months ago
early easy prediction:more adults than children will use this to learn swift.
Score: 13 Votes (Like | Disagree)
moeafg Avatar
88 months ago
Sucks to wait til the Fall to download this. I'm actually excited for this.
Score: 12 Votes (Like | Disagree)
drumcat Avatar
88 months ago
The funny thing is this will be compelling for adults, too. Look at the iOS "Human Resource Machine". Fun game.
Score: 8 Votes (Like | Disagree)
robinp Avatar
88 months ago
I'm looking forward to learning a bit of swift with my baby daughter as soon as she is old enough. I have done a bit of scripting in Maya in the past, but would love to have a better insight into proper programming
Score: 5 Votes (Like | Disagree)

Popular Stories

iPhone 15 Pro Buttons CAD Leak

iPhone 15 Pro Leak Reveals Unified Volume Button and Mute Button

Monday March 20, 2023 8:33 am PDT by
As previously rumored, the next-generation iPhone 15 Pro and iPhone 15 Pro Max will feature a unified volume button and a mute button, according to leaked CAD images shared in a video on the Chinese version of TikTok and posted to Twitter by ShrimpApplePro. Instead of separate buttons for volume up and volume down, the iPhone 15 Pro models are expected to have a single elongated button for...
original iphone auction

Factory-Sealed Original iPhone Sells for $55,000 at Auction

Friday March 17, 2023 1:08 pm PDT by
A first-generation iPhone still sealed inside its box sold for $54,904 at auction, which is more than $54,000 over the original $599 price tag of the device when it was released in 2007. The original iPhone was put up for sale by RR Auction on behalf of a former Apple employee who purchased it back when it first came out. Back in February, an original, sealed iPhone sold for over $63,000,...
iPhone 12 Pro vs iPhone 15 Pro Feature

iPhone 12 Pro vs. 15 Pro: New Features to Expect if You've Waited to Upgrade

Friday March 17, 2023 10:29 am PDT by
While year-over-year iPhone upgrades are not always groundbreaking, new features can begin to stack up over multiple generations. For example, the iPhone 15 Pro will be a notable upgrade for those who still have a three-year-old iPhone 12 Pro. If you are still using an iPhone 12 Pro and are considering upgrading to the iPhone 15 Pro when it launches later this year, we have put together a...
top stories 18mar2023

Top Stories: iPhone 15 Pro Pricing, New iOS 16.4 Beta, Siri vs. ChatGPT, and More

Saturday March 18, 2023 6:00 am PDT by
Apple's high-end iPhone models have started at $999 in the U.S. since they first launched back in 2017 with the iPhone X, but could this finally be the year that starting price sees an increase? This week also saw some more rumors about Apple's upcoming headset and the company's explorations in the booming AI industry as well as the release of a new round of beta updates, so read on for all...
iPhone 15 Pro Mock Feature Buttonless

iPhone 15 Pro Max to 'Break Record' for Thinnest Bezels on a Smartphone

Friday March 17, 2023 2:59 am PDT by
The iPhone 15 Pro Max will have the thinnest bezels of any smartphone, beating the record currently held by the Xiaomi 13. That's according to the leaker known as "Ice Universe," who has divulged accurate information about Apple's plans in the past. Both iPhone 15 Pro models are expected to have thinner, curved bezels compared to the iPhone 14 Pro, potentially resulting in an Apple...
iphone 14 pro max deep purple feature purple

iPhone 15 Pro Launching This Year With These 11 New Features

Monday March 13, 2023 6:47 am PDT by
While the iPhone 15 lineup is around six months away, there have already been plenty of rumors about the devices. Many new features and changes are expected for the iPhone 15 Pro models in particular, including a titanium frame and more. Below, we have recapped 11 features rumored for iPhone 15 Pro models that are not expected to be available on the standard iPhone 15 and iPhone 15 Plus:A17...
iOS 16

iOS 16.4 for iPhone Nearing Launch With These 5 New Features

Monday March 20, 2023 11:50 am PDT by
Apple continues to test iOS 16.4, which includes a handful of new features and changes for the iPhone. Below, we have recapped five new features coming with the software update, including new emoji, push notifications from websites, and more. Apple says iOS 16.4 will be available in the spring, which begins today. In his newsletter this weekend, Bloomberg's Mark Gurman said the update should ...