Swift Functional Programming(Second Edition)
上QQ阅读APP看书,第一时间看更新

Optional chaining

Swift provides optional types that can have some or none values. Swift also provides optional chaining to use optionals safely and efficiently. Optional chaining empowers us to query and call properties, methods, and subscripts on optional types that may be nil.