• 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 won't do as it's told
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSUserDefaults won't do as it's told


  • Subject: Re: NSUserDefaults won't do as it's told
  • From: mmalc crawford <email@hidden>
  • Date: Sun, 4 Mar 2007 00:39:17 -0800


On Mar 3, 2007, at 11:51 PM, email@hidden wrote:

This is a frequent problem I have with memory management : whenever
I use a new class or method I'm not familiar with, I ask myself: what does
it do to the retain counts of the objects it works on ?


Indeed, that is a problem...
As the policy explained in the documentation (<http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/Concepts/ObjectOwnership.html >) implies, you should *not* be asking yourself this question. All you should typically be concerned with is, are you keeping your side of the bargain?


mmalc

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Re: NSUserDefaults won't do as it's told (From: email@hidden)

  • Prev by Date: NSUserDefaults dictionary raises exception instead of returning nil
  • Next by Date: Re: Subclass of NSMutableDictionary hanging
  • Previous by thread: Re: NSUserDefaults won't do as it's told
  • Next by thread: Re: NSUserDefaults won't do as it's told
  • Index(es):
    • Date
    • Thread