
上QQ阅读APP看书,第一时间看更新
Conventions
In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.
Code words in text are shown as follows: "In AppDelegate.h
file, find the application:didFinishLaunchingWithOptions:
method and find where we are registering for push notifications".
A block of code is set as follows:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { ... // Register for push notifications [application registerForRemoteNotificationTypes: UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeAlert | UIRemoteNotificationTypeSound]; ... }
All the command-line input or output is written as follows:
curl -s https://www.parse.com/downloads/cloud_code/installer.sh | sudo /bin/bash
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: "After clicking on the Event Summary, you can see the list of events you have created".