Overridden Overload Resolution

When override gets involved, overload resolution becomes quite a puzzle.

Overridden Overload Resolution

一旦 override 卷入其中,overload resolution 就变成一个谜团。

Recursion Is Dangerous

Recursive functions are elegant but dangerous to use in Swift.

递归的危险

递归函数优雅,但是在 Swift 中无法安全使用。

Raw Value Types

Any LiteralConvertible can be enumeration raw values.

Raw Value 类型

任何 LiteralConvertible 都可作为 enumeration raw value。

Reorder Defaulted Function Arguments

Defaulted arguments are allowed to be reordered.

缺省值参数乱序赋值

给缺省值参数赋值时顺序可变。