Skip navigation.
 
mlRe: Why shouldn't I release?
FROM : I. Savant
DATE : Sat Dec 01 05:08:14 2007

On Nov 30, 2007, at 10:06 PM, Ric L. wrote:

> Well, after I wrote the message, I added a line:
>
>    long retainCount = [outputString retainCount];
>
> after the call to stringWithFormat and saw that it had a retain 
> count of 1 - this would seem to settle the issue that I am correct 
> on this point at least.



  Just follow the memory management rules to which you were referred. 
The retain count is none of your business (because other background 
mechanisms may have an interest in your object(s) as well). Manage 
your memory properly and never mind the actual count.

--
I.S.

Related mailsAuthorDate
mlWhy shouldn't I release? Ric L. Dec 1, 03:54
mlRe: Why shouldn't I release? j o a r Dec 1, 03:58
mlRe: Why shouldn't I release? Andrew Farmer Dec 1, 04:02
mlRE: Why shouldn't I release? Ric L. Dec 1, 04:06
mlRe: Why shouldn't I release? Hank Heijink Dec 1, 04:15
mlRe: Why shouldn't I release? stephen joseph but… Dec 1, 04:28
mlRe: Why shouldn't I release? Frank Weinstock Dec 1, 04:40
mlRe: Why shouldn't I release? I. Savant Dec 1, 05:08