TestFlight users who have signed up to beta test Apple’s Swift Playgrounds educational coding app will now have access to the Swift Playgrounds 3.0 beta. The new version uses Swift 5.0, the beta version of Apple’s app coding language.
The full extent of what’s new in Swift Playgrounds 3.0 isn’t clear as of yet, but Apple’s release notes for the beta update provide a bit of detail. The new version of the app allows Playground Books to contain directories of Swift code and resources that can be imported for use by any page in the book.
Modules in a book’s Modules directory can also be imported to any page in the book.
Apple’s release notes for the update are as folows:
New in Swift Playgrounds 3.0 Beta:
Playground Books can now contain directories of Swift code and resources that can be imported for use by any page in that book.The ./Contents/UserModules/UserCode.playgroundmodule/Sources/UserSource.swift file is editable by users using the new source editor tab.
In addition, the modules in a book’s Modules directory (.playgroundbook/Contents/Modules) can be imported by any page in the book, but can’t be viewed or edited in the app.
Note: Swift Playgrounds 3.0 beta uses Swift 5 (swiftlang-1001.0.63.8). Code written using other versions of Swift may not work in UserModuleExample.playgroundbook.
Known Issues in Swift Playgrounds 3.0 Beta:
– A playground may get stuck executing when live issues are present. (47896251)
Workaround: Resolve the live issue, return to the document browser and open the playground again.
– A playground may get stuck after recording a movie. (42903135)
Workaround: Force close Swift Playgrounds from the App Switcher, then relaunch the app and open the playground again.
If you’re a TestFlight user that had previously signed up to beta test Swift Playgrounds in the past will have access to the beta, but Apple is apparently not accepting new beta testers at the moment.
The current version of the app is version 2.2, and was released in November 2018.