IBOutlets

suggest change

Remarks

IBOutlet is not a reserved word, a variable, or a class. In Objective-C it is a macro for Interface Builder. After the preprocessor runs, the macro below expands to nothing. It does not become nil.

In Swift, @IBOutlet is an attribute that marks a property for Interface Builder. It is not that macro, and it does not mean nil.

The Objective-C macro is declared in <UIKit/UINibDeclarations.h> as

#ifndef IBOutlet
#define IBOutlet
#endif

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents