add 2.1 guys

This commit is contained in:
梁杰
2015-11-02 10:25:11 +08:00
parent bd0ee0462c
commit 31b1da909e
18 changed files with 79 additions and 56 deletions

View File

@ -6,7 +6,10 @@
> 校对:[numbbbbb](https://github.com/numbbbbb), [stanzhai](https://github.com/stanzhai)
> 2.0
> 翻译+校对:[KYawn](https://github.com/KYawn)[小铁匠Linus](https://github.com/kevin833752)
> 翻译+校对:[KYawn](https://github.com/KYawn)
> 2.1
> 翻译:[小铁匠Linus](https://github.com/kevin833752)
本页内容包括:
@ -70,9 +73,9 @@
// First release
protocol MyProtocol {
// protocol definition
}
```
}
```
```swift
// Subsequent release renames MyProtocol
protocol MyRenamedProtocol {
@ -89,7 +92,7 @@ typealias MyProtocol = MyRenamedProtocol
@available(`platform name` `version number`, *)
`available`特性的简写语法可以简明地表达出多个平台的可用性。尽管这两种形式在功能上是相同的,但请尽可能地使用简明语法形式。
`available`特性的简写语法可以简明地表达出多个平台的可用性。尽管这两种形式在功能上是相同的,但请尽可能地使用简明语法形式。
```swift
@available(iOS 8.0, OSX 10.10, *)