Apple has released the Swift Playgrounds app for Mac. The app was released for iPad back in 2016.
Swift Playgrounds for Mac is a port from the existing Playgrounds app on the iPad, and is built using Apple’s Catalyst technology. Like the iPad counterpart, the Mac version has exercises and challenges to help users learn the basics of Swift, a powerful programming language created by Apple.
Swift Playgrounds is a revolutionary app for Mac and iPad that makes it fun to learn and experiment with code. You solve interactive puzzles in the guided “Learn to Code” lessons to master the basics of coding, or experiment with a wide range of challenges that let you explore many unique coding experiences.
No prior coding experience is required to use Swift Playgrounds, which is what makes it ideal to get started with coding. Given that it’s a Catalyst app, you’ll need macOS Catalina (10.15.3 or higher) to use Swift Playgrounds. The app is available to download from the Mac App Store.