• 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: earliest code that runs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: earliest code that runs?


  • Subject: Re: earliest code that runs?
  • From: mmalcolm crawford <email@hidden>
  • Date: Tue, 27 Jul 2004 19:11:15 -0700

On Jul 27, 2004, at 6:08 PM, Matt Neuburg wrote:

I was assuming that a class's +initialize method would be called before any
instance's init method, but no. (I thought that because an example in the
docs seemed to imply it.)

+initialize is called before the init method of any instance *of the same class*...

+initialize is a good place to, for example, register value transformers that will be used by instances of the class.

mmalc
_______________________________________________
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.


References: 
 >earliest code that runs? (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Using NSApplescript while keeping UI responsive
  • Next by Date: Re: Protocol variables
  • Previous by thread: Re: earliest code that runs?
  • Next by thread: Re: earliest code that runs?
  • Index(es):
    • Date
    • Thread