Re: NSUserDefaults objects
Re: NSUserDefaults objects
- Subject: Re: NSUserDefaults objects
- From: "Chris Lewis" <email@hidden>
- Date: Wed, 22 Mar 2006 20:58:39 +0000
> The one exception are objects clearly documented as shared
> singletons, and even *those* is better (and completely harmless of
> course) to retain whilst you want to keep them at hand.
Yeah, this was what I was fumbling around to get at. If I made such a
default an instance variable and changed it, am I going to see that
change for other things that reference that default value.
But as you mention that this would be well-documented, the don't
know/don't care advice is good to remember :)
Thanks Ondra (and Robert too!)
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