The
Process of querying and calling properties ,methods and subscripts
on an optional that might currently be nil is called optional
chaining .If
the optional chaining
contains a value, the property, method, or subscript call succeeds
.Multiple
queries can be chained together and if any link in chain is nil then
entire chain fails.
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
The Process of querying and calling properties ,methods and subscripts on an optional that might currently be nil is called optional chaining .If the optional chaining contains a value, the property, method, or subscript call succeeds .Multiple queries can be chained together and if any link in chain is nil then entire chain fails.