In Xcode 6 Swift is introduced which includes SDKs for OS X version 10.9, iOS 8, an innovative programming language with an interactive work area called a playground. Where Developers can directly manipulate and experiment with Swift code live.
· Enter a line of code, and the result appears immediately.
· If your code runs over time for instance through a loop you can add that line of code to Timeline Assistant to watch it progress.
· When you’ve perfected your code in the playground, simply move that code into your project. Some uses for playgrounds include:
· Designing a new algorithm, watching its results every step of the way
· Experimenting with new API or trying out new Swift syntax
· Creating new tests and then verifying that they work before promoting them into your test suite |