• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSUserDefaults objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSUserDefaults objects
      • From: Ondra Cada <email@hidden>
References: 
 >NSUserDefaults objects (From: "Chris Lewis" <email@hidden>)
 >Re: NSUserDefaults objects (From: Ondra Cada <email@hidden>)

  • Prev by Date: NSTabview shrinks too much
  • Next by Date: Re: newbie question re. cocoa front-end to sql db
  • Previous by thread: Re: NSUserDefaults objects
  • Next by thread: Re: NSUserDefaults objects
  • Index(es):
    • Date
    • Thread