Re: question about -init methods
Re: question about -init methods
- Subject: Re: question about -init methods
- From: Chris Hanson <email@hidden>
- Date: Fri, 7 Jul 2006 12:35:52 -0700
On Jul 7, 2006, at 12:22 PM, Rob Ross wrote:
(Also, I am used to having my own private init() methods in Java
classes, called from my constructor, to organize my object's
initialization code. I have to find a new name for those methods
now!! What do other people call their helper methods that are
called from the -initXXX methods that help the initializer perform
its initialization code?)
The designated initializer. If a class has several -init* methods,
one of them needs to be the designated initializer which all of the
others -- and all subclasses -- must invoke either directly or
indirectly.
-- Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden