© Jesse Feiler 2017

Jesse Feiler, Exploring Swift Playgrounds, 10.1007/978-1-4842-2647-6_4

4. Editing Playgrounds on macOS

Jesse Feiler

(1)Plattsburgh, New York, USA

There are three basic ways to use playgrounds:

  • You can build an ad hoc playground to experiment with code and syntax. Developers frequently do this to test out an idea before incorporating it in an actual project. Particularly if you are transitioning to Swift from other languages (or to Swift 3 from previous versions), it’s often faster to test out some syntax in a playground than to search the various versions of documentation.

  • You can use a playground that’s built as a learning experience by others.

  • You can build a playground that serves as a learning experience for others. In a similar ...

Get Exploring Swift Playgrounds: The Fastest and Most Effective Way to Learn to Code and to Teach Others to Use Your Code now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.