添加英文标题

This commit is contained in:
Bing Cheung
2015-08-28 07:11:41 +08:00
parent e189b558f7
commit 16be13f3bc
20 changed files with 47 additions and 48 deletions

View File

@ -1,6 +1,6 @@
# 基础部分
-----------------
# 基础部分The Basics
-----------------
> 1.0
> 翻译:[numbbbbb](https://github.com/numbbbbb), [lyuka](https://github.com/lyuka), [JaySurplus](https://github.com/JaySurplus)
> 校对:[lslxdx](https://github.com/lslxdx)
@ -631,11 +631,11 @@ if let constantName = someOptional {
你可以像上面这样使用可选绑定来重写`possibleNumber`这个例子:
```swift
if let actualNumber = Int(possibleNumber) {
print("\'\(possibleNumber)\' has an integer value of \(actualNumber)")
} else {
print("\'\(possibleNumber)\' could not be converted to an integer")
}
if let actualNumber = Int(possibleNumber) {
print("\'\(possibleNumber)\' has an integer value of \(actualNumber)")
} else {
print("\'\(possibleNumber)\' could not be converted to an integer")
}
// 输出 "'123' has an integer value of 123"
```

View File

@ -1,6 +1,6 @@
# 基本运算符
-----------------
# 基本运算符Basic Operators
-----------------
> 1.0
> 翻译:[XieLingWang](https://github.com/xielingwang)
> 校对:[EvilCome](https://github.com/Evilcome)

View File

@ -1,4 +1,4 @@
# 控制流
# 控制流Control Flow
-----------------
> 1.0

View File

@ -1,4 +1,4 @@
# 类和结构体
# 类和结构体Classes and Structures
> 1.0
> 翻译:[JaySurplus](https://github.com/JaySurplus)

View File

@ -1,6 +1,6 @@
# 自动引用计数
-----------------
# 自动引用计数Automatic Reference Counting
-----------------
> 1.0
> 翻译:[TimothyYe](https://github.com/TimothyYe)
> 校对:[Hawstein](https://github.com/Hawstein)

View File

@ -1,6 +1,6 @@
# 可空链式调用
-----------------
# 可空链式调用Optional Chaining
-----------------
> 1.0
> 翻译:[Jasonbroker](https://github.com/Jasonbroker)

View File

@ -1,5 +1,4 @@
# 错误处理
# 错误处理Error Handling
-----------------
> 2.0

View File

@ -1,6 +1,6 @@
# 嵌套类型
-----------------
# 嵌套类型Nested Types
-----------------
> 1.0
> 翻译:[Lin-H](https://github.com/Lin-H)
> 校对:[shinyzhu](https://github.com/shinyzhu)

View File

@ -1,4 +1,4 @@
# 协议
# 协议Protocols
-----------------
> 1.0

View File

@ -1,4 +1,4 @@
# 泛型
# 泛型Generics
------

View File

@ -1,4 +1,4 @@
# 访问控制
# 访问控制Access Control
------------------
> 1.0

View File

@ -1,4 +1,4 @@
# 高级运算符
# 高级运算符Advanced Operators
-----------------
> 1.0