Xcode Playgrounds
When we first launch Xcode, it may need to do some one-time-only setup work, such as asking permission to install components like the Mobile Device framework. When Xcode finally comes up, we get a greeting window (like the one below) that shows a few quick-start buttons on the left, along with a list of most recent items we’ve opened on the right. We’ll be starting a project here shortly, but to warm up, we’re going to play in a playground. This is a new feature in Xcode 6 that lets us interact with Swift code, to try out ideas by just writing code and seeing the results immediately, without an entire build-and-deploy cycle.
The greeting window offers a button to “Get started with a playground.” This will bring up a sheet asking ...
Get iOS 8 SDK Development, 2nd Edition 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.