Wednesday, December 11, 2024
Archived Post

Swift Playgrounds 2.0 lets you subscribe to playgrounds from third party creators

Apple has updated Swift Playgrounds, a free iPad app to teach kids of any age basic coding skills in Swift, to version 2.0. Now you can subscribe to playgrounds from your favorite third party creators, then browse and download their content directly within Swift Playgrounds. Other changes include:

  • Subscriptions automatically show new playgrounds when available and alert you to updates.
  • New robots including IBM’s TJBot and Mekamon are available from the Add Subscriptions button.
  • New content gallery shows all playgrounds including third-party subscriptions in a single view.
  • Documentation for iOS features and commands is now available from the Help button and the tools menu.
  • A Locations button lets you open playgrounds from the Files app on your iPad.
  • Third-party robot playgrounds previously included in the app are now available directly from their respective authors when you browse subscriptions.

Playgrounds is designed to teach basic programming concepts like loops and conditionals using an animated character that the budding programmers direct by writing code. The app offers suggestions for code to be used, and Swift Playgrounds also has a special iOS coding keyboard to ease entry of all of those pesky brackets. 

There’s a “Fundamentals of Swift” lesson that teaches the basics; more advanced concepts can be explored in further lessons. Code is created on the left side of the iPad screen, and then results are immediately viewable on the right side of the screen with the tap of a “Run My Code” button. Should developers want to see a full-screen view of their handiwork, it’s easy to just swipe the window to take advantage of the complete screen size and resolution. 

Once the lessons are over, Swift Playgrounds has a collection of challenges that can be undertaken, and Apple plans to add new ones over time. In addition to the coding keyboard, there is also a Snippets Library to hold commonly-used pieces of code, a keypad that automatically pops up when typing numbers, and a feature called Touch to Edit that developers drag the boundaries of a statement around existing code.

Finally, if developers wish to move their projects to Xcode to try their hand at developing “real” apps for iOS and macOS, it’s possible to export code to Xcode from Swift Playgrounds. Code can also be shared with other Playgrounds users through Mail, Messages, or AirDrop.

Dennis Sellers
the authorDennis Sellers
Dennis Sellers is the editor/publisher of Apple World Today. He’s been an “Apple journalist” since 1995 (starting with the first big Apple news site, MacCentral). He loves to read, run, play sports, and watch movies.