I. Introduction of PLAYGROUND
Playground is the SWIFT code development environment that comes with the Xcode6. As the saying goes, "work for the good, its prerequisite." Before writing script code in XCODE5, such as writing JS, its writing process is very painful, Xcode editor for scripting language Writing support is not good, but playground to write swift code is not painful. Using Playground to write Swift code, you do not need to compile a swift file or run a project to compile, but you can quickly see the results of the code execution and the results in the intermediate process.
Second, playground environment construction
1. Open Playground Environment: there are two ways
A, open Xcode, directly click Get STARTD with a playground, you can directly create a playground environment,
B. Establish a swift language project to create a Playground environment in this project: File > New > File and selecting the Playground
Three, playground use method
http://blog.csdn.net/fobhappy/article/details/28599789
0, Ios8:xcode6 Playground