Re: self Changes on Open Panel
Re: self Changes on Open Panel
- Subject: Re: self Changes on Open Panel
- From: Uli Kusterer <email@hidden>
- Date: Wed, 10 Jun 2009 11:48:53 -0700
On 09.06.2009, at 17:48, Greg Guerin wrote:
How do you know -init is only run once?
Are you sure no other init method is run? Like maybe initWithCoder:?
As a general rule, when you wonder where an object is coming from,
it helps to have a look at any and all -init methods the class has. In
particular init and initWithCoder:. In addition to that, objects can
be created by a call to copy or mutableCopy, so you can get very
interesting behaviour if your base class implements NSCopying and you
forgot to override that in the subclass and do your own additional work.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden