Re: A few questions about Memory Management
Re: A few questions about Memory Management
- Subject: Re: A few questions about Memory Management
- From: "John C. Warner" <email@hidden>
- Date: Fri, 11 Feb 2005 21:20:07 -0500
On 11 Feb, 2005, at 9:16 PM, Bob Ippolito wrote:
Anyway, the convention is that all methods except for +alloc, +new and
-copy should return an object with a "net retain count" of zero.
Meaning, unless you call one of these three methods, you do not have
to send the result a release message.
Don't forget -mutableCopy, where applicable.
-John
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden