Cocoa: what is the var name of an instance created by a NIB file?
Posted
by Nibbles
on Stack Overflow
See other posts from Stack Overflow
or by Nibbles
Published on 2010-02-04T07:22:24Z
Indexed on
2010/04/09
22:23 UTC
Read the original article
Hit count: 197
When a Cocoa NIB file instantiates an instance of a custom controller object, what is the name of the variable that that custom controller instance is assigned to?
In case that isn't clear, if you manually created an instance of that class you would do:
MyControllerClass *myVar = [[MyControllerClass alloc] init];
What equivalent of "myVar" has the NIB used when doing this behind the scenes?
© Stack Overflow or respective owner