1.

What Is The Question Mark (?) In Swift?

Answer»

The QUESTION mark (?) is USED during the declaration of a PROPERTY. It TELLS the compiler that this property is OPTIONAL and whether the property may hold a value or not.

The question mark (?) is used during the declaration of a property. It tells the compiler that this property is optional and whether the property may hold a value or not.



Discussion

No Comment Found