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
103 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
103 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
103 months ago
early easy prediction:more adults than children will use this to learn swift.
Score: 13 Votes (Like | Disagree)
moeafg Avatar
103 months ago
Sucks to wait til the Fall to download this. I'm actually excited for this.
Score: 12 Votes (Like | Disagree)
drumcat Avatar
103 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
103 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

iOS 18 Apple Music Messages and Notes Feature 1

iOS 18 Rumored to Add New Features to These 15 Apps on Your iPhone

Tuesday April 30, 2024 10:44 am PDT by
Apple is expected to announce iOS 18 during its WWDC keynote on June 10, and new features have already been rumored for many apps, including Apple Music, Apple Maps, Calculator, Messages, Notes, Safari, and others. Below, we recap iOS 18 rumors on a per-app basis, based on reports from MacRumors, Bloomberg's Mark Gurman, and others: Apple Maps: At least two new Apple Maps features are...
maxresdefault

Apple Event Rumors: iPad Pro With M4 Chip and New Apple Pencil With Haptic Feedback

Sunday April 28, 2024 6:19 am PDT by
In his Power On newsletter today, Bloomberg's Mark Gurman outlined some of the new products he expects Apple to announce at its "Let Loose" event on May 7. Subscribe to the MacRumors YouTube channel for more videos. First, Gurman now believes there is a "strong possibility" that the upcoming iPad Pro models will be equipped with Apple's next-generation M4 chip, rather than the M3 chip that...
iPad Pro OLED Feature 2

Apple to Use 'Best OLED Panels on the Market' for Upcoming iPad Pro

Monday April 29, 2024 10:04 am PDT by
Apple's upcoming iPad Pro models will feature "by far the best OLED tablet panels on the market," according to Display Supply Chain Consultants. Set to be announced on May 7, the OLED iPad Pro models will feature LTPO (a more power efficient form of OLED), a 120Hz ProMotion refresh rate, and a tandem stack and glass thinning that will bring "ultra-thin and light displays" that support high...
iOS 18 General Notes Feature 2

iOS 18 Rumored to 'Overhaul' Notes, Mail, Photos, and Fitness Apps

Sunday April 28, 2024 6:44 am PDT by
Bloomberg's Mark Gurman today said that iOS 18 will "overhaul" many of Apple's built-in apps, including Notes, Mail, Photos, and Fitness. Gurman did not reveal any specific new features planned for these apps. It was previously rumored that the Notes app will gain support for displaying more math equations, and a built-in option to record voice memos, but this is the first time we have...
iPad Air 5 Colors

Apple's M1 iPad Air Drops to New Low Price of $399.99 at Best Buy

Monday April 29, 2024 7:12 am PDT by
Best Buy today has discounted Apple's M1 iPad Air (64GB Wi-Fi) to a new all-time low price of $399.99 in the Starlight color option, down from $599.99. Best Buy says this deal will last through the end of the day, and it's only available in one color at this record low price. Note: MacRumors is an affiliate partner with Best Buy. When you click a link and make a purchase, we may receive a...
maxresdefault

Apple Announces 'Let Loose' Event on May 7 Amid Rumors of New iPads

Tuesday April 23, 2024 7:11 am PDT by
Apple has announced it will be holding a special event on Tuesday, May 7 at 7 a.m. Pacific Time (10 a.m. Eastern Time), with a live stream to be available on Apple.com and on YouTube as usual. The event invitation has a tagline of "Let Loose" and shows an artistic render of an Apple Pencil, suggesting that iPads will be a focus of the event. Subscribe to the MacRumors YouTube channel for more ...
ios 17 5 repair state

iOS 17.5 Includes 'Repair State' Option That Doesn't Require Turning Off Find My for Service

Tuesday April 30, 2024 1:24 pm PDT by
With iOS 17.5, Apple is adding a "Repair State" feature that is designed to allow an iPhone to be sent in for service without deactivating Find My and Activation Lock. The fourth iOS 17.5 beta that came out today adds a "Remove This Device" option for all devices in Find My, and using it with an iPhone puts that iPhone into the new Repair State. Right now, sending an iPhone to Apple to be...