Coding in Swift Playgrounds

Whether you are using a MacOS or iOS device this is great!

Steven Curtis
4 min readDec 11, 2019

Playgrounds are great! You can use them on a Mac to quickly run code, and even on the iPhone or iPad! Fantatastic.

You’ll find Playgrounds in Interactive courses, and even downloads from GitHub (here is a guide if you are uncomfortable with this), and indeed there is even a link at the bottom of this post go the Playground created during this tutorial.

Photo by Bambi Corro on Unsplash

Difficulty: Beginner | Easy | Normal | Challenging

Prerequisites:

Recommended: Be able to produce a “Hello, World!” Swift application (guide HERE)

Terminology

Playgrounds: A development environment that can be used to create Swift code

Swift: An open source programming language for macOS, iOS, watchOS and tvOS

Playground basics

Creating a Playground: On an iOS device

You can download Playgrounds from HERE which installs the App onto your device.

We can then writelet str = "Hello, playground")

--

--