Re: Autorelease question
Re: Autorelease question
- Subject: Re: Autorelease question
- From: Dave Hersey <email@hidden>
- Date: Thu, 3 Apr 2008 22:43:04 -0400
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@hidden)
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:
This email sent to email@hidden