Apple has made Swift Playgrounds available for download, and provides a way to teach beginners and children how to code on its Swift programming language on the iPad.
Swift Playgrounds includes Apple-developed programming lessons that guide students through an assortment of puzzles to guide characters through an immersive graphical world as they learn core coding concepts. Apple is planning on periodically releasing new standalone challenges to the app so users can continue developing programming skills.
In an onstage demonstration at the 2016 WWDC, Apple showed how users could move a character and pick up gems in a simplified way to teach the basics of code.
Users start out by learning the important concepts needed to understand code. Lessons progress over time, ultimately allowing users to import and export directly between Swift Playground on iOS to Xcode on macOS Sierra. Stand-alone apps outside the aegis of Swift Playgrounds lessons cannot be created on the iPad, and must be exported to Xcode for compilation.
"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."
Apple first introduced its new Swift programing language at WWDC 2014, building upon groundwork invested in the company's development tools ranging from its LLVM compiler to its Cocoa and Foundation frameworks.
Swift Playgrounds is available today on the App Store for free. Swift Playgrounds is compatible with all iPad Air and iPad Pro models and iPad mini 2 and later running iOS 10.
7 Comments
Wow, sounds like a cool start to bringing real coding support to the iPad. A rudimentary debugging capability would be a great next step. One of my first introductions to programming was on a BASIC pocket computer so I've been waiting for a long time for built-in programming support on an iOS device (using a standard programming language like Swift of course).
"You can transfer Swift 3 programs between Xcode running on a Mac and Swift Playgrounds running on an iPad and vice versa."
But there is no OS X (ahem, "MacOS") version of Swift Playgrounds. Seems that it should be on both platforms if Apple is truly committed to getting kids (or anyone) to play with the app and start programming in Swift. I can just hear my kids, "Hey, Dad, where's the iPad?" to which I reply, "Your sister is using it" to which he replies, "Can you load up the Mac version for me," to which I reply, "Well... Apple says 'No' to that. Sorry."
I agree; it's bizarre that there's no macOS version.