Swift 关键字汇总
常见的关键字有以下4种
与声明有关的关键字:class、deinit、enum、extension、func、import、init、let、protocol、static、struct、subscript、typealias和var。
与语句有关的关键字:break、case、continue、default、do、else、fallthrough、if、in、for、return、switch、where和while。
表达式和类型关键字:as、dynamicType、is、new、super、self、Self、Type、__COLUMN__、__FILE__、__FUNCTION__和__LINE__。
在特定上下文中使用的关键字:associativity、didSet、get、infix、inout、left、mutating、none、nonmutating、operator、override、postfix、precedence、prefix、rightset、unowned、unowned(safe)、unowned(unsafe)、weak和willSet。
专注iOS、Golang开发。
技术博客:http://xiaopin.cnblogs.com