Re: retainCount
Re: retainCount
- Subject: Re: retainCount
- From: Finlay Dobbie <email@hidden>
- Date: Fri, 5 Oct 2001 23:06:27 +0100
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.
-- Finlay