Understanding reference count ownership

Paul Sargent psarge at gmail.com
Thu May 8 06:16:42 PDT 2008


On Thu, May 8, 2008 at 12:34 AM, mmalc Crawford <mmalc-lists at mmalc.com>
wrote:

>
> On May 7, 2008, at 2:47 PM, Christiaan Hofman wrote:
>
>  No. The rule is that only methods containing "create", "copy", and "alloc"
>> in their name implicitly retain.
>>
>>  No, this is wrong.


I have to say, even with a link to the documentation, that statement just
makes me more confused. I'm not sure what it is you're objecting to.

Is it that objects returned by those methods haven't been [retain]'d, they
just haven't been [autorelease]'d?


More information about the MacOSX-dev mailing list