基本信息
源码名称:Swift Programming.pdf
源码大小:1.21M
文件格式:.pdf
开发语言:Swift
更新时间:2021-01-06
   友情提示:(无需注册或充值,赞助后即可获取资源下载链接)

     嘿,亲!知识可是无价之宝呢,但咱这精心整理的资料也耗费了不少心血呀。小小地破费一下,绝对物超所值哦!如有下载和支付问题,请联系我们QQ(微信同号):813200300

本次赞助数额为: 2 元 
   源码介绍

Table of contents
Introduction
About Swift
About the book
Part I. Introducing Xcode
Chapter 1. The first steps
eleven . You need a Mac computer
12 . Sign up as an Apple developer
thirteen . Install Xcode
Chapter 2 . Xcode environment and playground projects
2 .1. Introduction to Xcode
2 .2. Playground project interface
2 .3. Playground project capabilities
Part II. Basic Swift Features
Chapter 3 . Starting point
3 .1. Setting and changing the value
3 .2. Variables and constants
3 .3. The rules for declaring variables and constants
3 .4. Display of text information
3 .5. Comments
3 .6. Semicolon
Chapter 4 . Data types and operations with them
4 .1. Types of data type definition
4 .2. Numeric data types
4 .3. Text data types
4 .4. Boolean values
4 .5. Type aliases
4 .6. Comparison operators
Part III. Fixed assets Swift
Chapter 5. Tuples
5 .1. Basic information about tuples
5 .2. Interacting with elements of a tuple
Chapter 6 . Optional data types
6 .1. Optionals
6 .2. Retrieving an optional value
Chapter 7. Assertions
Chapter 8 . Flow control. Branching
8 .1. Condition statement if
8 .2. Guard statement
8 .3. Range operators
8 .4. The branching operator switch
Chapter 9. Types of collections
9 .1. Arrays
9 .2. Sets
9 .3. Dictionaries
Chapter 10. Flow control. Repetitions
10 .1. The repetition operator for
10 .2. Repeat while and repeat while statements
10 .3. Cycle management
Chapter 11 . Functions
11 .1. Function declaration
11 .2. Input parameters and return value
11 .3. Function body as value
11 .4. Nested functions
11 .5. Reloading functions
11 .6. Recursive function call
Chapter 12 . Closures
12 .1. Functions as closures
12 .2. Closing expressions
12 .3. Implicit return value
12 .4. Abbreviated parameter names
12 .5. Closure variables
12 .6. Capturing variables
12 .7. Array sorting method
Part IV. Non-trivial features of Swift
Chapter 13 . OOP as a foundation
13 .1. Instances
13 .2. Namespaces
Chapter 14 . Enumerations
14 .1. Enumeration syntax
14 .2. Associated parameters
14 .3. Switch statement for enumerations
14 .4. The associated member values of the enumeration
14 .5. Properties in enumerations
14 .6. Methods in enumerations
14 .7. Operator self
14 .8. Recursive enums
Chapter 15. Structures
15 .1. Syntax for declaring structures
15 .2. Properties in structures
15 .3. Structure as a namespace
15 .4. Custom initializers
15 .5. Methods in structures
Chapter 16. Classes
16 .1. Class syntax
16 .2. Class properties
16 .3. Class methods.
16 .4. Class initializers
16 .5. Nested types.
Chapter 17 . Properties
17 .1. Property types.
17 .2. Control of receiving and setting values.
17 .3. Type properties.
Chapter 18 . Subscripts
18 .1. Appointment of subscripts.
18 .2. Subscript syntax
Chapter 19 . Inheritance
19 .1. Inheritance syntax
19 .2. Overriding inherited elements
19 .3. The preemptive final modifier
19 .4. Substitution of class instances
19 .5. Cast
Chapter 20 . The aliases Any and AnyObject
20 .1. The alias is Any
20 .2. The alias is AnyObject.
Chapter 21 . Initializers and Deinitializers.
21 .1. Initializers.
21 .2. Deinitializers.
Chapter 22 . Removing instances and ARC
22 .1. Destruction of instances
22 .2. Memory leaks
22 .3. Automatic reference counting.
Chapter 23 . Optional Chains
23 .1. Accessing properties through optional chaining
23 .2. Setting values through optional chains
23 .3. Accessing methods through optional chaining.
Chapter 24 . Extensions
24 .1. Computed properties in extensions.
24 .2. Extension initializers.
24 .3. Methods in extensions.
24 .4. Subscripts in extensions.
Chapter 25 . Protocols
25 .1. Required properties
25 .2. Required methods
25 .3. Required initializers
25 .4. Protocol as data type
25 .5. Extension and protocols
25 .6. Protocol inheritance
25 .7. Class protocols
25 .8. Composition of protocols
Chapter 26 . Non-standard data types and retrieval
reference information
Chapter 27 . Generic templates
27 .1. Versatile functions
27 .2. Generic types
27 .3. Type constraints
27 .4. Generic extensions
27 .5. Related types
Chapter 28 . Error processing
28 .1. Throwing errors
28 .2. Error processing
28 .3. Delayed cleanup actions.
Chapter 29 . Non-trivial use
operators
29 .1. Operator functions
29 .2. Custom operators