Re: NSUserDefaults won't do as it's told
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