Re: [Newbie Q] Memory Management in Cocoa
Re: [Newbie Q] Memory Management in Cocoa
- Subject: Re: [Newbie Q] Memory Management in Cocoa
- From: Sherm Pendley <email@hidden>
- Date: Tue, 5 Nov 2002 16:17:17 -0500
On Tuesday, November 5, 2002, at 02:21 PM, Bill Cheeseman wrote:
(2) you own an object that you introduced into your application
by calling alloc, allocWithZone:, copy, or copyWithZone: yourself (I'm
leaving something out here; what is it?).
retain
Although, I don't think of objects that have been retained as being
"owned" by my code. The owner is whatever code allocated or copied the
object. My code is just renting the object for a while - with an option
to buy if the owner decides to release it. ;-)
sherm--
If you listen to a UNIX shell, can you hear the C?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.