With the advent of Swift and Swift2, there is the use of an environment called a playground now. It is a place where you can set up a quick environment with some code and then see the results. It is a quick, new way to use the new setup. When you start, it will have a main window and the results on the second, split one.
In Xcode, navigate to New | Playground and the following screenshot will be shown. Give a name to your playground. You can have several running of them under different platforms, so a meaningful name would be useful:
Once this is created and the Next button is clicked on, the following screen will appear. Here, you can create the code, test ideas and code snippets, and just try it out. It is a great and simple idea, which will help motivate existing developers, and create new developers for the future:
As you can see from the preceding screenshot, there is a split page on the right-hand side, which can be adjusted as per requirement. The code appears...