Swift Playgrounds Will Soon Be Able to Program and Control Robots, Drones, and Toys

Apple today announced that Swift Playgrounds, its iPad app aimed at making learning how to code interactive and fun, will be able to program and control robots, drones, musical instruments, and other toys when the latest version of the app is released at its Worldwide Developers Conference next week.


Swift Playgrounds version 1.5, set to be released on June 5, will support several popular Bluetooth-enabled devices, including LEGO's MINDSTORMS Education EV3 robot, Sphero's SPRK+ robotic ball and BB-8 droid, UBTECH's Jimu Robot MeeBot Kit, Dash by Wonder Workshop, Parrot drones, and other toys.

“More than 1 million kids and adults from around the world are already using Swift Playgrounds to learn the fundamentals of coding with Swift in a fun and interactive way,” said Craig Federighi, Apple’s senior vice president of Software Engineering. “Now they can instantly see the code they create and directly control their favorite robots, drones and instruments through Swift Playgrounds. It’s an incredibly exciting and powerful way to learn.”

Apple invited a small group of reporters to its Cupertino headquarters to demo the functionality, including Engadget, which put together a brief video showing off the programmable toys in action.


Swift Playgrounds requires no coding knowledge to begin with. Kids and adults alike learn how to code by completing a collection of coding lessons and challenges, and the ability to program and control robots, drones, and musical instruments will make it all the more fun. The app uses Apple's own programming language, Swift.

Swift Playgrounds is a free download on the App Store [Direct Link] for all iPad Air and iPad Pro models, and iPad mini 2 or newer.

Top Rated Comments

(View all)
Avatar
45 months ago
But all MacRumors readers care about is whether or not you'll be able to use Swift Playgrounds to control the production of new Macs.



Score: 12 Votes (Like | Disagree)
Avatar
45 months ago
Does anyone remember the Logo programming language?
Score: 7 Votes (Like | Disagree)
Avatar
45 months ago

Does anyone remember the Logo programming language?

Yes, did that on my Commodore 64. Swift (from the screen shots) reminded me a lot of Logo.

I do! :)
I used it at school 25 years ago, it was funny and helped a lot learning about simple programming patterns.

Yes, that was what I first learned on in 3rd grade on an Apple IIe. I did it faster and quicker than my peers so the teacher didn't let me do any more thinking I'd be a distraction. So she put me on a reading course on the computer. Not as much fun.

I managed to dig this out of my closet. It predates me by over a decade, but I remember it fondly:



Score: 7 Votes (Like | Disagree)
Avatar
45 months ago
Something that would get huge cheers from the crowd on Monday would be Xcode for iPad. I wonder if that will ever happen.
Score: 6 Votes (Like | Disagree)
Avatar
45 months ago
Its really cool to have a 1st party Apple app to do this.
Again, it seems like they could be making time for certain other announcements at WWDC.
Score: 5 Votes (Like | Disagree)
Avatar
45 months ago
Sounds like this got cut from the presentation at the last minute because they kept going over on time—that's exciting news! My daughter is still a toddler but I'm definitely going to teach her to code and apps like this are going to be super useful. I think in the future knowing a programming language will just be like knowing any other language and maybe even necessary for most jobs.
Score: 4 Votes (Like | Disagree)

Top Stories

First iPhone 12 Mini Hands-On Video Surfaces [Update: Video Pulled]

Wednesday October 28, 2020 1:21 pm PDT by
Apple's iPhone 12 mini and the iPhone 12 Pro Max aren't set to be available until November 13, but a Romanian YouTuber got his hands on the iPhone 12 mini and showed it off today, offering a size comparison between the iPhone 12 and the 12 mini along with going over some of the device's features. The iPhone 12 mini is identical to the iPhone 12 in design and functionality, but it has a...

Apple References Unreleased 2020 16-Inch MacBook Pro in Boot Camp Update

Monday October 26, 2020 8:42 am PDT by
Last week, Apple released an update for Boot Camp, its utility for running Windows on a Mac. While this update would typically be unremarkable, several of our readers noticed that the release notes reference an unreleased 2020 model of the 16-inch MacBook Pro. While this could easily be a mistake, the 16-inch MacBook Pro is nearly a year old, so it is certainly a worthy candidate for a...

After Mocking Apple, Samsung May Remove Power Adapter From Galaxy S21 Box

Tuesday October 27, 2020 4:29 pm PDT by
Samsung's Galaxy S21, coming in 2021, may not include a power adapter or headphones in the box, according to reports from Korean media sites highlighted by SamMobile. Rumors earlier this year also said that Samsung was considering removing these accessories from future smartphone models, but that didn't stop Samsung from mocking Apple for selling the iPhone 12 models without a power adapter...

Report: Apple Silicon iMac Featuring Desktop Class 'A14T' Chip Coming First Half of 2021

Tuesday October 27, 2020 4:14 am PDT by
The first iMac powered by Apple Silicon is set to arrive in the first half of next year and will feature a desktop class "A14T" chip, according to Chinese-language newspaper The China Times. Codenamed "Mt. Jade," Apple's first custom-made desktop processor will be twinned with its first self-developed GPU, codenamed "Lifuka," both of which are being produced using TSMC's 5-nanometer process, ...

iPhone 12 Ceramic Shield Still 'Scratches at Level 6 With Deeper Grooves at Level 7' in Mohs Hardness Test

Wednesday October 28, 2020 7:10 am PDT by
iPhone 12 and iPhone 12 Pro models feature a new Ceramic Shield front cover that is "tougher than any smartphone glass," according to Apple, but the displays on the devices still have similar scratch resistance as previous iPhones based on a new test. Zack Nelson today shared his much-anticipated iPhone 12 Pro durability test on his YouTube channel JerryRigEverything, and based on the Mohs...

2020 iPad Air vs. iPad Pro: Hands-On Comparison

Tuesday October 27, 2020 3:03 pm PDT by
Apple announced the new 2020 fourth-generation iPad Air in September, but the new tablets just started shipping out to customers last Friday. We picked one up and thought we'd do a hands-on comparison with the iPad Pro, which was last updated in March, because both tablets are about as powerful and share many similarities. Subscribe to the MacRumors YouTube channel for more videos. Design and ...

MagSafe Charger Only Charges at Full 15W Speeds With Apple's 20W Power Adapter [Updated]

Monday October 26, 2020 3:38 pm PDT by
Alongside the iPhone 12 and 12 Pro models, Apple introduced a new MagSafe charger that attaches to the magnetic ring in the back of the devices, providing up to 15W of charging power, which is double the speed of the 7.5W Qi-based wireless charging maximum. Apple does not provide a power adapter with the $39 MagSafe charger, requiring users to supply their own USB-C compatible option. Apple...

Apple Files Mystery 'Personal Computer' With Placeholder 'B2002' Name in Bluetooth Product Database

Tuesday October 27, 2020 12:36 pm PDT by
Last week, a listing appeared in the Bluetooth product database for an Apple product with a placeholder name "B2002" and a model number of "TBD." MacRumors was alerted to the listing by health and fitness tech website MyHealthyApple. The product is filed under the "personal computer" category, which Apple has used for previous Mac and iPad listings in the database, so it is hard to pinpoint...

Apple Releases First macOS Big Sur 11.0.1 Beta to Developers [Update: Public Beta Available]

Wednesday October 28, 2020 10:15 am PDT by
Apple today seeded a new macOS Big Sur 11.0.1 beta to developers for testing purposes, with the new beta replacing the existing macOS Big Sur 11 beta 10 update that was released two weeks ago. The macOS Big Sur beta can be downloaded through the Apple Developer Center and once the appropriate profile is installed, subsequent betas will be available through the Software Update mechanism in...

iPhone 12 Models Might Support Reverse Charging of Future Apple Accessories According to FCC Filing

Tuesday October 27, 2020 6:25 pm PDT by
iPhone 12 models could have an inactive wireless charging feature for accessories, according to an FCC filing discovered by VentureBeat's Jeremy Horwitz. In the filing, Apple said that 2020 iPhones support a wireless charging function that will seemingly be enabled for at least one future Apple accessory:In addition to being able to be charged by a desktop WPT charger (puck), 2020 iPhones...