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…
iOS 18 could add a customization feature I’ve waited years for
iOS 17 interactive widgets on an iPhone 15 Pro Max.

iOS 18 is coming later this year, and all signs point to it being a dramatic iPhone update. Now, thanks to one new report, it looks like iOS 18 could add a customization feature I've been waiting years and years and years for: better home screen customization.

According to Bloomberg's Mark Gurman, iOS 18 will introduce a "more customizable" home screen. More specifically, iOS 18 will allow you to place app icons and widgets anywhere you want. If you want a space or break between an app icon or your widget, welcome to the future: iOS 18 may finally let you do that. MacRumors corroborated this report with its own sources, too.

Read more
I found 16 new widgets for iOS 17 that you have to try
A selection of widgets on an iPhone home screen.

Widgets have long been a popular feature on iPhones. Since the release of iOS 17, they have become more interactive, providing a more engaging experience. Interactive widgets allow you to perform important actions from your iPhone's home screen. For example, you can complete your to-do lists, play and pause media and podcasts, control your smart home devices, and much more — all without opening any apps.

Interactive widgets are not limited to Apple's built-in apps on iOS 17. Third-party developers are also adopting this new feature. Although not all apps offer interactive widgets, there are plenty that do. Here are a few interactive widgets that are worth exploring.
Calculator 17

Read more
Your iPhone just got a new iOS update, and you should download it right now
iPhone 15 Pro display with iPhone 15 Pro Max in background.

Apple has just released a new security update, iOS 17.4.1. This comes a little over two weeks after iOS 17.4, which was a big update. iOS 17.4.1 doesn't add any new features, but it's still an important update you'll want to download as soon as you can.

With iOS 17.4.1, Apple states that the update “provides important bug fixes and security updates and is recommended for all users.” Apple doesn’t mention any specifics of these bug fixes, but more details on what this security update addresses may be revealed at a later date.

Read more