• 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: subclassing NSArrayController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: subclassing NSArrayController


  • Subject: Re: subclassing NSArrayController
  • From: Stefan Fisk <email@hidden>
  • Date: Wed, 3 Mar 2004 17:32:29 +0100

ok, i read a little about it, but i still don't understand what to override, initWithCoder: hardly seems appropriate (although it would work). as i see it, NSArrayController should have a designated initializer that i could piggyback on, but what?

2004-03-03 kl. 13.32 skrev Allan Odgaard:

On 3. Mar 2004, at 12:35, Stefan Fisk wrote:

when i subclass NSArrayController my -(id)init: never gets called, is this normal? if so, then where am i supposed to put my class initialization?

If you instantiate from IB it will call initWithCoder: because the class is loaded from the Nib file.

There is a FAQ entry about it in the IB or Xcode documentation IIRC.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: subclassing NSArrayController
      • From: Allan Odgaard <email@hidden>
References: 
 >subclassing NSArrayController (From: Stefan Fisk <email@hidden>)
 >Re: subclassing NSArrayController (From: Allan Odgaard <email@hidden>)

  • Prev by Date: Re: NSURLConnection vs. CURLHandle vs. Others
  • Next by Date: Re: Global vars vs IB
  • Previous by thread: Re: subclassing NSArrayController
  • Next by thread: Re: subclassing NSArrayController
  • Index(es):
    • Date
    • Thread