IBOutlets
suggest changeRemarks
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
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents