adspace


What is nil-coalescing operator?

Answer Posted / Ankur Bhardwaj

The nil-coalescing operator (??) in Swift returns the left operand if it’s not nil; otherwise, it returns the right operand.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the common execution states for a swift ios app (ios application lifecycle).

900


Explain some biggest changes in usernotifications.

925


How can you define a base class in swift?

931