NSBrowser's Designated Initializer

  • I have a NIB that has a NSBrowser subclass in it. This browser needs to
    have some initialisation done, but I can't seem to get the nib
    instantiator to call initWithFrame: on my subclass.

    I ended up putting the code into awakeFromNib, but (from a design
    perspective) it's not supposed to be there.

    Why doesn't NSBrowser get an initWithFrame: call from the nib? What
    _is_ it's designated initializer?

    Seth A. Roby            The Amazing Llama < mail or AIM me at tallama at mac dot
    com>
    "Life is like an exploded clown. It's really funny until you figure out
    what just happened."
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
  • On Thursday, January 23, 2003, at 01:44  PM, The Amazing Llama wrote:

    > I have a NIB that has a NSBrowser subclass in it. This browser needs
    > to have some initialisation done, but I can't seem to get the nib
    > instantiator to call initWithFrame: on my subclass.
    >
    > I ended up putting the code into awakeFromNib, but (from a design
    > perspective) it's not supposed to be there.
    >
    > Why doesn't NSBrowser get an initWithFrame: call from the nib? What
    > _is_ it's designated initializer?
    >

    Read the IB FAQ its described there how this all works.

    vince
    _______________________________________________
    cocoa-dev mailing list | <cocoa-dev...>
    Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
    Do not post admin requests to the list. They will be ignored.
previous month january 2003 next month
MTWTFSS
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Go to today