On Wed, May 21, 2008 at 5:07 PM, Matthew Youney <[EMAIL PROTECTED]> wrote:
> What is the instance name of the controller object instantiated by Interface > Builder? They do not have a name... at least not in the way you appear to be asking. Objects in the nib or external objects (file owner, etc. [1]) can have references to other objects in a nib established by creating connections graphically (control dragging between objects). Those references are stored in instance variables that you define in code (or inherit from a superclass). So the "name" is nothing more then the instance variable you defined and told interface builder to use when you made the connection interface builder. > What am I missing? You simply need instances of "other" class to have a reference (pointer) to an instance of your controller class. Then they can send messages to the controller class instance. Review the following and in particular the discussion of IBOutlets which hopefully will better explain how Interface Builder works in this regard. <http://developer.apple.com/documentation/DeveloperTools/Conceptual/IB_UserGuide/ConnectionsandBindings/chapter_6_section_1.html#//apple_ref/doc/uid/TP40005344-CH7-SW1> Also review... [1] <http://developer.apple.com/documentation/DeveloperTools/Conceptual/IB_UserGuide/ApplicationBasics/chapter_3_section_2.html#//apple_ref/doc/uid/TP40005344-CH3-SW15> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]