简体   繁体   中英

Difference between “optional chaining” and “optional call chaining” in Swift

Swift中“可选链接”和“可选调用链接”之间在语义上有什么区别吗?

Provisionally I'll answer No, there is no semantic difference.

"Optional Chaining" is discussed extensively in "The Swift Programming Language (Swift 2 Prerelease), both in its own section (Optional Chaining) and in later discussions on protocols and types. I don't see "Optional Call Chaining" in that book.

Googling "optional call chaining" returns this question, so I'm not sure in what context "optional call chaining" occurs.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM