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.
All Android and iOS examples and descriptions are based on Android Studio, xCode and various third party services, running on a OSX machine.
Console input is shown as:
$ gem install cocoapods
A block of code is set as follows:
func refresh (sender: AnyObject!) {
...
let cngQuery = client.queryDataset("wwmu-gmzc")
cngQuery.orderAscending("title").get { res in
switch res {
case .Dataset (let data):
self.data = data
...
}
}
Data (XML, JSON or otherwise) is shown as:
<key>UberClientID</key>
<string>your uber client id</string>
<key>UberCallbackURI</key>
<string></string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>uber</string>
</array>
Where you need to apply your own client ID, API key or API secret it, for example, reads as: your client_id within the code or the data.
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: "Clicking the Next button moves you to the next screen."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.