There are a number of text conventions used throughout this book.
CodeInText: Indicates code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles. Here is an example: "To define the protocol, we use the protocol keyword, followed by the name of the protocol."
A block of code is set as follows:
struct MyStruct: MyProtocol {
//Structure implementation here
}
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
Initializing class with name One
Initializing class with name Two
Setting class1ref1 to nil
Releaseing class with name One
Setting class2ref1 to nil
Setting class2ref2 to nil
Releaseing class with name Two
Bold: Indicates a new term, an important word, or words that you see onscreen. For example, words in menus or dialog boxes appear in the text like this. Here is an example: "If we run this example, we will see that the Notification Received message."
Warnings or important notes appear like this.
Tips and tricks appear like this.