Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




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