• 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: More memory allocation questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: More memory allocation questions


  • Subject: Re: More memory allocation questions
  • From: David Martin <email@hidden>
  • Date: Tue, 30 Jul 2002 15:25:40 +0200

On Tuesday, July 30, 2002, at 02:44 , Ondra Cada wrote:

Otherwise, I believe it is very nicely documented: a method automatically (by the runtime) sent to a class just before the class gets its first message. In plain ObjC it's a very good place for initialization; in OpenStep/Cocoa with its plethora of awakeFromNibs and applicationDidFinishLaunchings and so forth it's more or less unused today.

In his book (Cocoa Programming for Mac OS X), Aaron Hillegass uses it to initialize factory defaults -[NSUserDefaults registerDefaults:] or for class versioning (-[NSObject setVersion:]).

Bye,
David
_______________________________________________
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: More memory allocation questions
      • From: Daniel Jalkut <email@hidden>
References: 
 >Re: More memory allocation questions (From: Ondra Cada <email@hidden>)

  • Prev by Date: change the size of about box
  • Next by Date: disable on demand
  • Previous by thread: Re: More memory allocation questions
  • Next by thread: Re: More memory allocation questions
  • Index(es):
    • Date
    • Thread