• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Details and the concepts related to the Nib Window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Details and the concepts related to the Nib Window
      • From: James Bucanek <email@hidden>
References: 
 >Details and the concepts related to the Nib Window (From: Abhinav Tyagi <email@hidden>)
 >Re: Details and the concepts related to the Nib Window (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Details and the concepts related to the Nib Window
  • Next by Date: Re: Refreshing NSArrayController after Undo/Redo
  • Previous by thread: Re: Details and the concepts related to the Nib Window
  • Next by thread: Re: Details and the concepts related to the Nib Window
  • Index(es):
    • Date
    • Thread