一、枚举
1.1-枚举的基本用法

1.2-枚举的关联值(associated values)

1.3-枚举的原始值(raw values)

1.4-隐式原始值(implicitly assigned raw values)

1.5-递归枚举(recursive enumeration)

1.6-MemoryLayout

二、可选类型
2.1-可选项

2.2-强制解包(forced unwrapping)

2.3-判断可选项是否为nil

2.4-可选项绑定(optional binding)

2.5-while语句使用可选项绑定

2.6-空合并运算符??(nil-coalescing operator)

2.7-guard语句

2.8-隐式解包(implicitly unwrapping optional)

2.9-字符串插值

2.10-多重可选项

相关文章:
-
2022-01-07
-
2021-05-24
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-03-02
猜你喜欢
-
2021-12-22
-
2021-07-07
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2022-12-23
相关资源
-
下载
2022-12-05
-
下载
2021-06-07
-
下载
2021-06-05
-
下载
2023-01-29