[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Fix NSMenu retainCount problem

From: Richard Frith-Macdonald
Subject: Re: [PATCH] Fix NSMenu retainCount problem
Date: Sat, 7 Feb 2004 16:09:21 +0000

On 7 Feb 2004, at 14:47, Alexander Malmberg wrote:

Quentin Mathé wrote:
the user shouldn't have to know the framework implementation. In other
terms, correct objective-c memory management needs to support this rule
: sending a message to an object should never induce increased retain
count for this object.

I don't think this rule should be adopted. It's blatantly false for a
huge number of methods. While I can see that it would be useful in some
odd cases, the huge number of exceptions would make it difficult to rely

Agreed ... this is not a rule that holds on MacOS-X, and it's not even implied
in any of the documentation I know of.
It's definitely not required for 'correct' memory management.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]