Re: Passing Objects In Messages
Re: Passing Objects In Messages
- Subject: Re: Passing Objects In Messages
- From: Shawn Erickson <email@hidden>
- Date: Fri, 17 Oct 2003 18:12:32 -0700
On Friday, October 17, 2003, at 05:58 PM, James Masasaki wrote:
When I pass an object as a parameter in an Objective-C message,
how/when do I know it's safe to dispose of this object? Is it a
requirement that I receive a response before I dispose the object, or
do I just send the message and some garbage collection mechanism
cleans up the object for me?
The follow is found on Apple's Cocoa Objective-C Language Documentation
page.
http://developer.apple.com/documentation/Cocoa/Conceptual/MemoryMgmt/
index.html
In particular read over the "object ownership and disposal" link.
-Shawn
_______________________________________________
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.