- Swift 2 Design Patterns
- Julien Lange
- 206字
- 2021-07-09 21:25:41
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 as are shown as follows: "AbstractExpression
: It defines an interpret()
method that is common to all node in the abstract syntax tree."
A block of code is set as follows:
class WalkMoveStrategy:IMoveStrategy{ func performMove() { print("I am walking") } }
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
class WalkMoveStrategy:IMoveStrategy{
func performMove() {
print("I am walking")
}
}
Any console output is written as follows:
Printing checkPoint.... Level: 0 Weapon: gun Points: 1200 Level: 1 Weapon: tommy gun Points: 2250 Level: 2 Weapon: bazooka Points: 2400 Level: 4 Weapon: knife Points: 3000 Total Points: 8850
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: "Click on the Show the Test navigator button on the left-hand side."
- Learning Java Functional Programming
- Apache Spark 2.x Machine Learning Cookbook
- JavaFX Essentials
- 小學生C++創意編程(視頻教學版)
- QGIS By Example
- D3.js 4.x Data Visualization(Third Edition)
- Swift語言實戰精講
- Python機器學習算法: 原理、實現與案例
- 零基礎學Python編程(少兒趣味版)
- TypeScript 2.x By Example
- Visual Basic程序設計全程指南
- Magento 2 Developer's Guide
- Learning Scrapy
- Puppet Essentials
- 網絡工程方案設計與實施(第二版)