Re: retainCount
Re: retainCount
- Subject: Re: retainCount
- From: "John C. Randolph" <email@hidden>
- Date: Fri, 5 Oct 2001 16:12:07 -0700
On Friday, October 5, 2001, at 03:09 PM, Rosyna wrote:
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.
The rule is, *balance* your calls to retain and release, and what
anything else is doing as far as retaining the object is not your
problem.
-jcr
"I fear all we have done is to awaken a sleeping giant and fill him with
a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.