统一标准

This commit is contained in:
wuxing
2014-06-14 16:43:18 +08:00
parent 7011436cef
commit 1c10a65bd3
128 changed files with 82 additions and 82 deletions

4
source/chapter2/09_Classes_and_Structures.md Normal file → Executable file
View File

@@ -26,12 +26,12 @@ Swift 中类和结构体有很多共同点。共同处在于:
* 定义属性用于储存值
* 定义方法用于提供功能
* 定义附属脚本用于访问值
* 定义下标脚本用于访问值
* 定义构造器用于生成初始化值
* 通过扩展以增加默认实现的功能
* 符合协议以对某类提供标准功能
更多信息请参见 [属性](10_Properties.html)[方法](11_Methods.html)[附属脚本](12_Subscripts.html)[初始过程](14_Initialization.html)[扩展](20_Extensions.html),和[协议](21_Protocols.html)。
更多信息请参见 [属性](10_Properties.html)[方法](11_Methods.html)[下标脚本](12_Subscripts.html)[初始过程](14_Initialization.html)[扩展](20_Extensions.html),和[协议](21_Protocols.html)。
与结构体相比,类还有如下的附加功能: