Re: clarification (confirmation) about "autorelease" needed.
Re: clarification (confirmation) about "autorelease" needed.
- Subject: Re: clarification (confirmation) about "autorelease" needed.
- From: Cameron Hayne <email@hidden>
- Date: Wed, 2 Nov 2005 04:04:50 -0500
On 1-Nov-05, at 11:42 PM, Andrei Tchijov wrote:
Is it true, that in Cocoa ALL Class level object generator
methods ( like [ NSDictionary dictionary ] ) produce autoreleased
objects and all "init..." methods produce objects with retain count
equal 1. Also, is it possible to test if object has been
"autoreleased"?
You need to read the various articles about memory management:
http://www.cocoadev.com/index.pl?MemoryManagement
It's all been explained many times before.
--
Cameron Hayne
email@hidden
_______________________________________________
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