Swift 4.2
版本新特性
CaseIterable 协议
用 random(in:) 代替 arc4random
用 hash(into:) 计算哈希
toggle() 方法
#warning 和 #error 指令
removeAll(where:) 方法
allSatisfy 方法
@dynamicMemberLookup 特性