Software:Playgrounds (Xcode feature)

From HandWiki
Short description: Feature of the Xcode development environment
Playgrounds
Developer(s)Developer Tools Department
Apple Inc
Initial releasemacOS
June 2, 2014; 10 years ago (2014-06-02)
PlatformmacOS
TypeDeveloper Tool

The Playgrounds feature of the Xcode IDE provides an environment for rapid experimentation and development in the Swift programming language. The original version of the feature was announced and released by Apple Inc on June 2, 2014, during WWDC 2014.[1][2]

Overview

Playgrounds provide a testing ground that renders developer code in real time. They have the capability of evaluating and displaying the results of single expressions as they are coded (in line or on a side bar), providing rapid feedback to the programmer. This type of development environment, known as a read-eval-print loop (or REPL) is useful for learning, experimenting and fast prototyping.[3][4][5] Playgrounds was used by Apple to publish Swift tutorials and guided tours where the REPL advantages are noticeable.[6][7]

The Playgrounds feature was developed by the Developer Tools department at Apple. According to Chris Lattner, the inventor of Swift Programming Language and Senior Director and Architect at the Developer Tools Department, Playgrounds was "heavily influenced by Bret Victor's ideas, by Light Table and by many other interactive systems".[8] Playgrounds was announced by Apple Inc. on June 2, 2014, during WWDC 2014 as part of Xcode 6 and released in September.

In September 2016, the Swift Playgrounds application for iPad (also available on macOS starting in February 2020) was released, incorporating these ideas into an educational tool. Xcode's Playgrounds feature continued development, with a new step-by-step execution feature introduced in Xcode 10 at WWDC 2018.[9]


References

External links