why do you think I didn't read all of that documentation? I did but, alas, maybe I'm not smart enough and I can't tell which object is autoreleased and which one not
that was in principle my initial question
I doubt that it's that you're not smart enough.

At the very least, you need to read about the Create Rule and the Get Rule if you're *only* confused about those:

http://developer.apple.com/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html

However, I'd recommend going over the Apple Memory Management docs or the below references (which you may find clearer) until it gets boring and repetitive. If there's anything that you don't understand in these docs, they'll probably cost you a lot of development time.

Memory Management with Cocoa/WebObjects
http://stepwise.com/Articles/Technical/MemoryManagement.html

Very simple rules for memory management in Cocoa
http://stepwise.com/Articles/Technical/2001-03-11.01.html

This comes up a LOT on the list, so a search at http://www.cocoabuilder.com may be helpful if you're still stuck.

- d

_______________________________________________

Cocoa-dev mailing list ([email protected])

Please 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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to