New York: US-based technology giant Apple at its annual Worldwide Developers Conference (WWDC) in San Francisco on Monday announced Swift Playgrounds for iPad that would allow users to play with Swift code on their device for the first time.

COMMERCIAL BREAK
SCROLL TO CONTINUE READING

Apple wants to bring many more people into coding; this is their solution. The app incorporates lessons and challenges -- it is very much a teaching tool, technology website 9to5mac.com said.

The free Swift Playgrounds will be available in the App Store and a developer preview was released on Monday.

The code appears on the left with a preview on the right. Apple has made several different tutorials to gradually explain to people how to learn Swift. 

This includes fully three-dimensional basic `games` using Swift functions to control the character.