X

Legos, drones, robots come alive with Swift Playgrounds

Learning to code with Apple's Swift Playgrounds gets even better with real-world toys.

James Martin
James Martin is the Managing Editor of Photography at CNET. His photos capture technology's impact on society - from the widening wealth gap in San Francisco, to the European refugee crisis and Rwanda's efforts to improve health care. From the technology pioneers of Google and Facebook, photographing Apple's Steve Jobs and Tim Cook, Facebook's Mark Zuckerberg and Google's Sundar Pichai, to the most groundbreaking launches at Apple and NASA, his is a dream job for any documentary photography and journalist with a love for technology. Exhibited widely, syndicated and reprinted thousands of times over the years, James follows the people and places behind the technology changing our world, bringing their stories and ideas to life.
James Martin
swift-playground-robots-education-programming-ios-3153.jpg
1 of 11 James Martin/CNET

Apple's updated Swift Playgrounds app will let kids code for robots and drones. 

"It combines coding with robotics in the physical world, which is something that's very different from what we've been able to do before," said Cheryl Thomas, Apple's vice president of software engineering operations.

swift-playground-robots-education-programming-ios-3207.jpg
2 of 11 James Martin/CNET

The software teaches kids (and adults) how to code for iPhones and iPads. And starting June 5, it will work with third-party drones, robots and electronic musical instruments, too.

swift-playground-robots-education-programming-ios-3155.jpg
3 of 11 James Martin/CNET

"Education's in our DNA," said Susan Prescott, Apple's vice president of product marketing for apps, markets and services. "Those aren't just words to us. It's really been important to us to figure out how technology can transform teaching and learning in the classroom."

swift-playground-robots-education-programming-ios-3163.jpg
4 of 11 James Martin/CNET

With some quick programming that took less than an hour to compile, this little robot started dancing to Psy's "Gangnam Style," mimicking motions displayed on the iPad's screen.

swift-playground-robots-education-programming-ios-3131.jpg
5 of 11 James Martin/CNET

Companies working with Apple on Swift Playgrounds includes Lego with its Mindstorms Education EV3 robots; Parrot's Airborne and Rolling Spider drones; Skoogmusic's Skoog tactile cube that lets kids create music with their hands; Sphero's SPRK+ rolling ball robot; and Wonder Workshop's Dash robot.

swift-playground-robots-education-programming-ios-3196.jpg
6 of 11 James Martin/CNET

One of Parrot's Rolling Spider drones alongside an iPad running Swift Playgrounds that will be used to make it fly.

swift-playground-robots-education-programming-ios-3201.jpg
7 of 11 James Martin/CNET

Apple's updated Swift Playgrounds app will let kids code for robots and drones. 

swift-playground-robots-education-programming-ios-3188.jpg
8 of 11 James Martin/CNET

Swift Playgrounds version 1.5 marks the first time Apple has worked with third-party device makers for the app.

swift-playground-robots-education-programming-ios-3183.jpg
9 of 11 James Martin/CNET

Some device makers -- like Parrot and Wonder Workshop -- previously made their own experimental activities that Swift Playgrounds users could download from their websites or via Twitter.

swift-playground-robots-education-programming-ios-3192.jpg
10 of 11 James Martin/CNET

Used by more than a million unique active users, according to Apple, Swift Playgrounds is now available in English, French, German, Spanish, Japanese and "simplified Chinese."

swift-playground-robots-education-programming-ios-3148.jpg
11 of 11 James Martin/CNET

Apple first announced Swift Playgrounds at WWDC last year to get kids excited about coding.

More Galleries

My Favorite Shots From the Galaxy S24 Ultra's Camera
A houseplant

My Favorite Shots From the Galaxy S24 Ultra's Camera

20 Photos
Honor's Magic V2 Foldable Is Lighter Than Samsung's Galaxy S24 Ultra
magic-v2-2024-foldable-1383

Honor's Magic V2 Foldable Is Lighter Than Samsung's Galaxy S24 Ultra

10 Photos
The Samsung Galaxy S24 and S24 Plus Looks Sweet in Aluminum
Samsung Galaxy S24

The Samsung Galaxy S24 and S24 Plus Looks Sweet in Aluminum

23 Photos
Samsung's Galaxy S24 Ultra Now Has a Titanium Design
The Galaxy S24 Ultra in multiple colors

Samsung's Galaxy S24 Ultra Now Has a Titanium Design

23 Photos
I Took 600+ Photos With the iPhone 15 Pro and Pro Max. Look at My Favorites
img-0368.jpg

I Took 600+ Photos With the iPhone 15 Pro and Pro Max. Look at My Favorites

34 Photos
17 Hidden iOS 17 Features You Should Definitely Know About
Invitation for the Apple September iPhone 15 event

17 Hidden iOS 17 Features You Should Definitely Know About

18 Photos
AI or Not AI: Can You Spot the Real Photos?
img-1599-2.jpg

AI or Not AI: Can You Spot the Real Photos?

17 Photos