Chapter 2. Playgrounds and the Swift REPL
In software development, one of the biggest barriers to is getting past the initial hurdles.
For newcomers, learning Objective-C or Swift can be a challenge. The bewildering array of template options available when creating a new project or workspace can be off-putting.
Even for seasoned iOS or OS X developers, trying a new idea can be a frustrating experience. You have to choose a project type (and the hardest bit—give it a name), and use the same old build-and-run merry-go-round just to execute your code. And if your idea does seem like a good one, did you pick the right template up front, or do you need to go back, pick a new project, and copy the code over to it?
With Swift, Apple has introduced two ...
Get Swift Translation Guide for Objective-C Users: Develop and Design now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.