March 2017
Intermediate to advanced
264 pages
7h 26m
English
We’ll start getting a feel for programming for iOS in what Xcode calls a playground, so click the “Get started with a playground” button. This brings up a new window, with a sheet showing two options for the playground: a name (defaulting to MyPlayground) and a platform. Make sure the platform is set to iOS, accept the default name, and click Next. Now we have to choose a destination folder to store the playground file. Anything will do here—Desktop, Documents, whatever—so pick something and click Create.
This brings up a window like the figure, with a toolbar and status pane at the top, a source editor on the left, an empty pane on the right, and a play/stop button at the bottom. For a moment, the status indicator ...