Re: Is it a bad idea to invoke "init..." over and over on the same object?
Re: Is it a bad idea to invoke "init..." over and over on the same object?
- Subject: Re: Is it a bad idea to invoke "init..." over and over on the same object?
- From: j o a r <email@hidden>
- Date: Wed, 2 Nov 2005 17:25:56 +0100
On 2 nov 2005, at 16.59, email@hidden wrote:
That said, I can't think of any examples off hand in any of Apple's
frameworks which support this.
It's not allowed in Cocoa. Read this from an authoritative source:
<http://www.cocoabuilder.com/archive/message/cocoa/2003/10/16/1773>
You also need to consider that an init method can return a *new* object.
I have also filed a case in Radar about updating the documentation to
make this more clear.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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