Ah! so if I never call upon the accessor, it would never make a copy.
Since it made a copy(once called), it's retained, and thus would be my
responsibility for releasing it.

Thanks for the link!  Didn't even think copy was the issue.


On Tue, Feb 3, 2009 at 7:42 AM, Bill Bumgarner <b...@mac.com> wrote:
> On Feb 3, 2009, at 7:39 AM, Adam Venturella wrote:
>>
>>   return [collection copy];
>
> http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html#//apple_ref/occ/instm/NSObject/copy
>
>
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to