iOS Programming Cookbook
上QQ阅读APP看书,第一时间看更新

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: " The sort function gives us another flexibility by which you can provide a closure that returns the comparison result between any two items in the list to determine which should come first in the list."

A block of code is set as follows:

{ (parameters) ->returnType in 
   // block of code goes here 
}

Any command-line input or output is written as follows:

cd path_to_directory

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Under Relationship Segue, click on view controllers to make this view controller part of the view controllers list on the tab bar controller."

Warnings or important notes appear in a box like this.

Tips and tricks appear like this.