Swift 5.7’s new optional unwrapping syntax



Swift 5.7 introduces a new, more concise way to unwrap optional values using if let and guard let statements. Before, we always had to explicitly name each unwrapped value, for example like this: A small, but very welcome feature.

from Pocket https://www.swiftbysundell.com/articles/swifts-new-shorthand-optional-unwrapping-syntax
via IFTTT

このブログの人気の投稿