Re: modifying self in init
Re: modifying self in init
- Subject: Re: modifying self in init
- From: Allan Odgaard <email@hidden>
- Date: Wed, 15 Sep 2004 12:50:58 +0200
On 15. Sep 2004, at 8:08, Mike Bolton wrote:
Anyways, if anyone can give me any advice or suggestions on how to
properly implement this,
Your first implementation (modifying self) is fine, and probably what I
would use.
I've searched the list archives for similar problems, but I didn't
find any
messages which addressed modifying the value of self.
You may try to search for class clusters and/or singleton design
pattern, here it's also sort of needed (try the CocoaDev wiki, it has
tutorials on these things).
And you don't need any extra retains in your code.
--
http://macromates.com/ ::: TextMate, OS X text editor
http://macromates.com/sigpipe/ ::: Personal weblog about
programming
_______________________________________________
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