Exploring the editor

Now we have a pretty good idea of what all the different parts of the Xcode window do and how they work together. We covered the two sidebars and the debug area in a good amount of detail, but now let's take a closer look at what the main editor can do.

Standard editor

Let's take a look at some of the different configurations for the editor. In your navigation sidebar, you can see a list of files. Right now, the HelloWorld project file is selected. Clicking on a file will make that the active file and open it in the editor. Select the ViewController.swift file and you'll see the editor change to show the source code:

Standard editor

Figure 2.8: ...

Get Learning Xcode 8 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.