Swift Playgrounds is a development environment for Swift created by Apple Inc. The original macOS version of Playgrounds, launched as an integrated part of Xcode, was announced and released by Apple Inc. in June 2, 2014 during WWDC 2014
Swift Playgrounds makes it fun to learn to code and build real apps. You solve interactive puzzles in the guided “Get Started with Code” and learn the basics of building apps in “Get Started with Apps.”