Skip to main content

Apple wants iOS to be the first language your child learns

A new game will help kids, and everyone else, learn how to code. Apple is launching Swift Playgrounds for iPad later this year, free in the App Store.

In this game players can control a character named Byte by using real Swift code. Concepts like code fencing and loops are introduced as game mechanics to solve puzzles. Players learn more real coding skills as they progress through the game, as puzzles require increasingly complex movements in order to be solved. There’s also a sandbox mode, where users can create environments using code.

WWDC 2016: WatchOS 3 supercharges the Apple Watch with extra speed and Minnie Mouse

A demo by Cheryl Thomas. VP, Software Engineering Operations at Apple, showed off the main game. Players use Swift code to order Byte to do things like step forward and eat gems. Thomas also showed off a physics environment full of emoji, and showed how users can adjust the physics of the world and other properties by adjusting the code.

The idea here is for would-be programmers to learn Swift before any other language, as Apple CEO Tim Cook made clear.

“Swift is powerful, but it’s also simple and approachable, so it can be your very first programming language,” said Cook.

Apple has been working hard to promote Swift, going so far as to open source the programming language last year. The idea, no doubt, it to shore up Apple’s developer base.

The game fits in the same vein. The more developers who speak Swift “natively,” the more developers who think of Apple’s platforms first. Releasing the application on iPad helps make it accessible, potentially reaching people who otherwise wouldn’t consider learning to code.

“Because Swift is so easy to learn, it has the potential to bring many more people into coding,” said Cook.

Only time will tell how effective this new game is at teaching non-programmers to create in Swift.

Editors' Recommendations

Justin Pot
Former Digital Trends Contributor
Justin's always had a passion for trying out new software, asking questions, and explaining things – tech journalism is the…
Can my iPhone get iOS 17? Here’s every supported model
Someone holding an iPhone 14 Pro Max and iPhone 14 Pro next to each other.

The latest version of iOS, iOS 17, comes with a host of new features, including phone call customizations, Live Voicemail, updated iMessage features, and many more. While the update is compatible with many iPhone models, it is not supported by all.

Apple's iOS 17 was announced at the Worldwide Developers Conference (WWDC 2023) alongside iPadOS, macOS, and more updates. It's an exciting update, but is it one you can get on your iPhone?
Which iPhone models can download iOS 17?
Apple iPhone 8 Julian Chokkattu/Digital Trends

Read more
The Apple Watch Ultra 2 is (almost) exactly what I wanted
A promotional image of the Apple Watch Ultra 2.

The Apple Watch Ultra 2 announcement from Apple's iPhone 15 event needs some thinking about before it makes sense. Why? At first, it looked like a product barely deserving of the name due to a disappointing list of upgrades, the addition of only a few new features, and the fact that it has exactly the same look as last year’s model.

This is all factually correct, but I’m about to explain why it was to be expected — and why it doesn’t matter at all.
It’s not for Apple Watch Ultra owners
Apple Watch Ultra Andy Boxall / Digital Trends

Read more
The Apple Watch X could change everything. Here are 6 things I want to see
watchOS 10 running on an Apple Watch Ultra.

The original Apple Watch was announced in September 2014, with the actual product release in April 2015. While we’re getting the Apple Watch Series 9 next month, it’s likely to be a very iterative update. Instead, we should focus on what Apple could be doing for the 10th anniversary of the Apple Watch, similar to what the company did with the 10th anniversary of the iPhone, which gave us the iPhone X.

With this in mind, 2023 is really not the year to expect big features to come to the Apple Watch; that will come in 2024 or 2025, and rumors suggest that this anniversary smartwatch could be called the “Apple Watch X.”

Read more