Chapter 7
Working with the Source Editor
In This Chapter
Using the Standard source editor to add code
Fixing syntax errors as you code
Getting the help you need from the documentation and other forms of help
Searching and finding symbols
You may be chomping at the bit to write code, but that's exactly what you've been doing ever since Chapter 2. (Chapter 1 was an introductory overview, as you may recall.) You've started building a storyboard for your app's interface — that was writing code just as much as typing print "Hello World" is. You've configured your project's settings with the graphical user interface tools of Xcode — that, too, is writing code.
But typing code into an editor is still a major part of the developer's work, and in this chapter, you'll look at the source code editing features of Xcode.
In this chapter, I tell you how to navigate the files in your project using the Jump bar and the navigators, as well as how to work with the source editor to enter code. And for when you are confused, or simply just curious, I explain how to access the documentation and Xcode’s ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access