Re: retainCount
Re: retainCount
- Subject: Re: retainCount
- From: Rosyna <email@hidden>
- Date: Fri, 5 Oct 2001 15:09:23 -0700
I need to know, sometimes an object will be created with and
autoreleased, sometimes it will be alloc'd. This cannot change. Ever.
I just need to know if its safe to autorelease it.
Ack, at 10/5/01, Finlay Dobbie said:
On Friday, October 5, 2001, at 10:48 pm, Rosyna wrote:
Does an object set to autorelease have a retain count?
Yes, of course it does. The retain count is always there, when it is
reduced to 0 (which may happen when an autoreleasepool does its
thing), the object is deallocated.
If it does, how can i tell if the object is to be autoreleased?
You don't need to.
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insane People