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.

NZ investment funds throw weight against social media giants
A consortium of NZ funds managing assets worth more than $90m are appealing against Facebook, Twitter, and Google following the Christchurch terror attacks.
Poly appoints new A/NZ managing director, Andy Hurt
“We’re excited to be bringing together two established pioneers in audio and video technology to be moving forward and one business – Poly."
NVIDIA announces Jetson Nano: A US$99 tiny, yet mighty AI computer 
“Jetson Nano makes AI more accessible to everyone, and is supported by the same underlying architecture and software that powers the world's supercomputers.”
Unity and NVIDIA announce real-time ray tracing across industries
For situations that demand maximum photorealism and the highest visual fidelity, ray tracing provides reflections and accurate dynamic computations for global lighting.
Slack doubles down on enterprise key management
EKM adds an extra layer of protection so customers can share conversations, files, and data while still meeting their own risk mitigation requirements.
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.
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.