Swift Playgrounds 4.1 for iPad and Mac Now Available

Swift Playgrounds 4.1 for iPad and Mac Now Available

Apple on Tuesday released Swift Playgrounds 4.1, the latest version of the iPad and Mac app that is designed to teach users how to code and build apps.

The Mac version of Swift Playgrounds 4.1 adds multiple new features, including support for building Mac apps with SwiftUI with macOS 12.4 or later.

Apple’s full release notes for the Mac version of Swift Playgrounds:

Swift Playgrounds 4.1 introduces new features, new content and bug fixes. New features include:
– Build Mac apps with SwiftUI (requires macOS 12.4 or later)
– Guided walkthroughs teach SwiftUI app building basics
– App Preview shows live updates as you make changes to your app
– Apps built with Swift Playgrounds run and install to the Applications folder
– App Store Connect integration lets you upload your finished app to the App Store (requires Apple Developer Program account)
– Smart, inline code suggestions help you write code quickly and accurately
– Project-wide search finds results across multiple files
– Snippets Library provides hundreds of SwiftUI controls, symbols, and colors
– Swift Package support lets you include publicly available code to enhance your apps
– App Projects make it easy to move projects to Xcode and back

Meanwhile, the iOS version of Swift Playgrounds 4.1 doesn’t include quite as many new features:

“Keep Going with Apps” helps you understand how data moves throughout SwiftUI apps

“Animating Shapes” teaches you how to create, modify, and animate shapes

“Capturing Photos” is an advanced look at creating your own camera

Swift Playgrounds for Mac can be downloaded from the Mac App Store, and Swift Playgrounds for ‌iPad‌ is available for download from the iOS App Store.