> > Whenever we drag an object from the Interface builder to our Nib window
>> (like we do for a controller object), it means that we are instantiating the
>> object of a class or interface. But where actually can i see it being
>> instantiated.
>
>What do you mean by "see"?

I presume he means via a breakpoint in the debugger.  Typically people put a 
breakpoint in init and don't see it being hit because init isn't called, 
initWithCoder is what is used when unarchiving objects from a nib, but that's a 
tough one to break in.

Typically, the first place your Interface Builder objects/delegates get called 
is awakeFromNib.  That's the place to put a breakpoint where you can see the 
things you created in Interface Builder.

Jon
_______________________________________________

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 arch...@mail-archive.com

Reply via email to