-
Book Overview & Buying
-
Table Of Contents
Learning Xcode 8
By :
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.
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:

Figure 2.8: The editor view when a .swift file is active
You'll also notice that at the very top of the editor window is a hierarchy bar view starting at the root project (the blue icon), going through folders and files, ending at No Selection. If you click your cursor around at different points in the source file, you'll see that No Selection changes depending...