Story image

Apple's Swift Playgrounds App wants to teach you how to code

14 Jun 2016

Apple has announced Swift Playgrounds, its new iPad app that the company says will make it easier and fun for anyone who wants to learn to code.

Swift Playgrounds uses Apple's Swift coding, which is reportedly east to learn and is used by professional developers to create apps. The app uses iPad's Multi-Touch interface so typing, tapping and dragging are easy to manoevure.

Swift Playground uses the gamification process: students write code to guide onscreen characters through a digital world, solving puzzles and mastering challenges along the way. Students learn coding in a way that builds confidence and skill over time. Students learn functions such as issuing commands, creating functions, performing loops, and using conditional code and variables.

Apple says it will also release new standalone challenges to cater for users' growing skill sets. Educators and developers will have access to Xcode to create their own challenges for the Swift Playgrounds app.

There are also templates that allow users to create their own apps as they learn, which can be sent to friends or posted to the web. The templates are buildable and customisable, and apple says users can 'create a virtually unlimited variety' of apps using the Swift and iOS frameworks. The projects can be exported to Xcode for development into full apps.

Craig Federighi, Apple’s senior vice president of Software Engineering, says the app is the only one that is easy enough for beginners and powerful enough to create real code. He believes it's a great way to empower future generations of coders.

“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. 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,” says Jean MacDonald, founder of App Camp for Girls.

Swift Playgrounds is available to Apple Developer Program members as a preview release. It will be available as an iOS 10 public beta in July, with the full app ready for download this spring. The app will be compatible with all Apple tablet devices running iOS 10.

WeRide demonstrates pre-commercial level 4 autonomous driving solutions
“Our demonstration of the Nissan LEAF 2 is a significant step forward in showing that WeRide can help bring reliable, safe autonomous vehicles to market."
IDC: Innovative wearable use cases drive double-digit growth
Wristbands are set to lose their dominance as hearables and industrial applications keep the wearables market moving forward.
Turtle Beach buys ROCCAT, bringing more 'victories to gamers'
Germany-based Roccat already has a significant presence in Europe and Asia, which means Turtle Beach will likely take advantage of that growth. Expect to see more Turtle Beach products on the shelves. 
NVIDIA introduces a new breed of high-performance workstations
“Data science is one of the fastest growing fields of computer science and impacts every industry."
Apple says its new iMacs are "pretty freaking powerful"
The company has chosen the tagline “Pretty. Freaking powerful” as the tagline – and it’s not too hard to see why.
Cloud providers increasingly jumping into gaming market
Aa number of major cloud service providers are uniquely placed to capitalise on the lucrative cloud gaming market.
NZ ISPs issue open letter to social media giants to discuss censorship
Content sharing platforms have a duty of care to proactively monitor for harmful content, act expeditiously to remove content which is flagged to them as illegal.
Partnership brings AI maths tutor to NZ schools
“AMY can understand why students make a mistake, and then teach them what they need straight away so they don't get stuck."