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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset