Typographical Conventions

To make this book easier to read, certain items appear in certain fonts. Classes, types, methods, and functions appear in a bold, fixed-width font. Classes and types start with capital letters, and methods and functions start with lowercase letters. For example, In the loadView() method of the RexViewController class, create a constant of type String.

Variables, constants, and filenames appear in a fixed-width font but are not bold. So you will see, In ViewController.swift, add a variable named fido and initialize it to "Rufus".

Application names, menu choices, and button names appear in a sans serif font. For example, Open Xcode and select New Project... from the File menu. Select Single View Application ...

Get iOS Programming: The Big Nerd Ranch Guide, 6th Edition 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.