update Protocols

This commit is contained in:
geek5nan
2014-06-18 00:50:11 +08:00
parent 38820d88f6
commit e5c0bf149a

View File

@ -66,7 +66,6 @@ protocol SomeProtocol {
var doesNotNeedToBeSettable: Int { get }
}
```
如下所示,通常在协议的定义中使用`class`前缀表示该属性为类成员;在枚举和结构体实现协议时中,需要使用`static`关键字作为前缀。
```swift