Swift Playgrounds App Makes Learning to Code Easy & Fun
New iPad App Teaches Coding Concepts & Encourages Creative Experimentation
“I wish Swift Playgrounds was around when I was first learning to code,” said Craig Federighi, Apple’s senior vice president of Software Engineering. “Swift Playgrounds is the only app of its kind that is both easy enough for students and beginners, yet powerful enough to write real code. It’s an innovative way to bring real coding concepts to life and empower the next generation with the skills they need to express their creativity.”
“The new Swift Playgrounds app from Apple is one of the most powerful, yet approachable, educational coding apps we’ve ever seen, and we can’t wait to incorporate it into our upcoming camp curriculum,” said Jean MacDonald, founder of App Camp for Girls. “It’s a fun and intuitive way for our students to learn the basic principles of coding using the iPad, and also become skilled in Swift, a language that can grow with them in whatever they choose to do.”
The library of Apple-developed programming lessons helps students learn core coding concepts, such as issuing commands, creating functions, performing loops and using conditional code and variables, and allows them to progressively build confidence and skill. Apple will regularly release new standalone challenges so students can continue to refine their coding abilities as their skills and interests grow. Educators and developers can also use Xcode to create their own unique challenges for the app.
In addition to the lessons, Swift Playgrounds comes with a number of built-in templates to help aspiring developers express their creativity. Students and developers can modify and build on this code to make it their own by adding graphics and touch interactions. Swift Playgrounds allows you to create a virtually unlimited variety of interactive programmes using Swift and the iOS frameworks. You can create empty playground documents or start from one of the built-in templates with scaffolding for graphics and user interface to build powerful apps that respond to touch and accelerometer or that control Bluetooth devices. And since Swift Playgrounds uses real Swift code, projects can be exported directly to Xcode to create programmes for iOS and macOS that can ultimately be turned into full-fledged apps.
Because Swift Playgrounds was designed from the ground up for the Multi-Touch iPad interface, you can create entire programmes with only a few taps. A new coding keyboard lets you quickly type additional characters common to Swift programming by swiping across the key, while a shortcut bar presents the most likely next commands or values based on context. And, using a pop-over keypad, you can simply tap to edit a number in place, touch a colour value to display a colour picker, and even drag the boundaries of a loop or function definition to wrap around existing code. You can also drag from a library of common coding snippets to create new, powerful code with little or no typing. Your programmes look beautiful running in full screen on the iPad Retina display and feel completely immersive, responding to touch gestures and the iPad accelerometer for interaction.
A preview release of Swift Playgrounds is available today to Apple Developer Program members as part of the iOS 10 developer preview and will be available with the iOS 10 public beta in July. The final version of Swift Playgrounds will be available in the App Store for free this fall. Swift Playgrounds is compatible with all iPad Air and iPad Pro models and iPad mini 2 and later running iOS 10. For more information including videos, images and demos, visit, apple.com/swift/playgrounds.
Apple revolutionised personal technology with the introduction of the Macintosh in 1984. Today, Apple leads the world in innovation with iPhone, iPad, Mac, Apple Watch and Apple TV. Apple’s four software platforms — iOS, macOS, watchOS and tvOS — provide seamless experiences across all Apple devices and empower people with breakthrough services including the App Store, Apple Music, Apple Pay and iCloud. Apple’s 100,000 employees are dedicated to making the best products on earth, and to leaving the world better than we found it.
+44 (0)20 8278 1440
© 2016 Apple Inc. All rights reserved. Apple, the Apple logo, Swift Playgrounds, iPad, Swift, Xcode, macOS, Multi-Touch, Retina, App Store, iPad Air, iPad Pro and iPad mini are trademarks of Apple. Other company and product names may be trademarks of their respective owners.