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

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.

主站蜘蛛池模板: 夏邑县| 长顺县| 西林县| 汽车| 曲阳县| 金平| 罗定市| 仪征市| 泸水县| 砀山县| 新竹市| 永修县| 青河县| 湾仔区| 剑阁县| 镇坪县| 始兴县| 平顺县| 鄱阳县| 吴忠市| 阿尔山市| 封丘县| 琼海市| 安塞县| 本溪市| 永寿县| 迁西县| 东阳市| 通州市| 宜黄县| 米林县| 兰州市| 庄浪县| 牟定县| 日土县| 云阳县| 绥德县| 尉犁县| 旺苍县| 云浮市| 宁安市|