Chapter 3
Using the Xcode Editing Tools
In This Chapter
Working with Xcode editing tools
Using code completion features
Correcting code with Fix-It
Using code snippets
In Chapter 1, I show you how to get started with an Xcode Swift project. As you can see in that chapter, a great deal of your Swift Xcode development involves the graphical user interface of Xcode. A lot of the work — particularly at the beginning of a project — is graphical or involves checkboxes.
In Chapter 2, I show you how to write and test code — particularly small snippets of code — in a playground. This helps you learn Swift syntax and allows you to test out code fragments before you type them (or copy-and-paste them) into your project files.
Now, in this chapter, I introduce Xcode’s editing tools. Here, you’ll write code in the way you may have written it in your beginning programming class in school (that is, typing in code rather than drawing the interface and using Xcode checkboxes and other graphical elements to construct your app visually). The focus in this chapter is on the Xcode tools that assist ...
Get Swift For Dummies 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.