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

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.

主站蜘蛛池模板: 安国市| 长武县| 山阴县| 兰坪| 广东省| 宣武区| 上栗县| 无为县| 湘阴县| 固始县| 滕州市| 通江县| 西乡县| 方山县| 清水河县| 大余县| 南平市| 呼和浩特市| 海丰县| 丹棱县| 镇巴县| 南乐县| 宝丰县| 宝应县| 宁城县| 大理市| 夏津县| 永吉县| 焉耆| 普兰店市| 奉化市| 博湖县| 梅州市| 宁蒗| 浏阳市| 门头沟区| 卢湾区| 喀什市| 密山市| 荥阳市| 冀州市|