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: email@hidden
- Date: Thu, 3 Nov 2005 02:59:57 +1100
Definitely not! Calling an init method more than once on any object
is a
no-no.
Unless explicitly noted otherwise.
I've designed things in past to work perfectly well with multiple
inits, in cases where there are very specific usage patterns that
would favour this optimisation.
I've also seen others state explicitly that their classes support
this, and even more examples abound in actual code (albeit
undocumented).
That said, I can't think of any examples off hand in any of Apple's
frameworks which support this.
Wade Tregaskis
ICQ: 40056898
AIM, Yahoo & Skype: wadetregaskis
MSN: email@hidden
iChat & email: email@hidden
Jabber: email@hidden
Google Talk: email@hidden
http://homepage.mac.com/wadetregaskis/
-- Sed quis custodiet ipsos custodes?
_______________________________________________
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