What is optional chain in swift iOS ?
Ask by Sunil Singh
Updated 23 Sep 2020
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.