官术网_书友最值得收藏!

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: " "hello".hasPrefix("he") method compiles and runs successfully on OS X and iOS."

A block of code is set as follows:

> var shopping = [ "Milk", "Eggs", "Coffee", ]
shopping: [String] = 3 values {
  [0] = "Milk"
  [1] = "Eggs"
  [2] = "Coffee"
}

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

func setupView() {
 contentMode = .Redraw
}

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: "Xcode documentation can be searched by navigating to Help | Documentation and API Reference."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 阳泉市| 阿拉善左旗| 东乌| 铜陵市| 桦南县| 富锦市| 长阳| 三都| 中方县| 江安县| 泗阳县| 神木县| 泸定县| 萝北县| 襄城县| 吐鲁番市| 烟台市| 宁强县| 阿瓦提县| 河北区| 三门县| 清丰县| 甘洛县| 定边县| 泸水县| 那曲县| 太仓市| 东台市| 苍南县| 武乡县| 丽水市| 怀安县| 鞍山市| 东丽区| 阜新市| 元氏县| 疏勒县| 修文县| 绥中县| 新龙县| 西乌珠穆沁旗|