Apple has released the Swift Playgrounds app for macOS after launching it originally for iPad in 2016. It’s been bought to the Mac through Catalyst.
The app is designed to help users with the basics of coding and provides exercises and challenges to support this. It contains Apple-made lessons which help get you programming quickly.
The company says that they’ve built in support for Mac features, such as Touch Bar, dragging and dropping and more:
- Code suggestions let you write entire programs in just a few clicks of the mouse
- See help along side code suggestions to learn about the available commands
- Click and drag a brace to wrap a block of code inside a loop or conditional statement
- Drag and drop snippets of commonly-used code directly into your playground
- Touch Bar support
You can download Swift Playgrounds for Mac for free here.