- Learning iOS UI Development
- Yari D'areglia
- 244字
- 2021-07-23 14:58:39
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: "The properties that define the view geometry are frame
, bounds
, and center
and they are configured using the geometry structures you just saw."
A block of code is set as follows:
// Define a point let point = CGPoint(x: 20, y: 10) // Define a size let size = CGSize(width: 20, height: 10) // Define a rect using size and point let rect_A = CGRect(origin: point, size: size) // Define a rect using x, y, width and height data let rect_B = CGRect(x: 15, y: 10, width: 100, height: 30)
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
enum UIUserInterfaceSizeClass : Int {
case Unspecified
case Compact
case Regular
}
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: "Create a new asset by clicking on the + symbol and selecting New Image Asset."
Note
Warnings or important notes appear in a box like this.
Tip
Tips and tricks appear like this.
- 計算思維與算法入門
- Visual Basic .NET程序設(shè)計(第3版)
- SOA實踐
- 自制編譯器
- Go語言高效編程:原理、可觀測性與優(yōu)化
- Responsive Web Design with HTML5 and CSS3
- Java Web程序設(shè)計
- CKA/CKAD應(yīng)試教程:從Docker到Kubernetes完全攻略
- SharePoint Development with the SharePoint Framework
- Java EE 7 Performance Tuning and Optimization
- Visual C#.NET程序設(shè)計
- Visual Basic程序設(shè)計
- Swift 4從零到精通iOS開發(fā)
- LabVIEW虛擬儀器入門與測控應(yīng)用100例
- Java語言程序設(shè)計教程