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
Delivered-to: email@hidden
Delivered-to: email@hidden
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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden
This email sent to email@hidden
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.