Re: Details and the concepts related to the Nib Window
Re: Details and the concepts related to the Nib Window
- Subject: Re: Details and the concepts related to the Nib Window
- From: Jon Pugh <email@hidden>
- Date: Mon, 22 Mar 2010 23:22:12 -0700
> > 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 (email@hidden)
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:
This email sent to email@hidden