Re: autorelease: how does this work!? (if at all)
Re: autorelease: how does this work!? (if at all)
- Subject: Re: autorelease: how does this work!? (if at all)
- From: Julien Jalon <email@hidden>
- Date: Fri, 18 Jun 2010 20:58:35 +0200
[theImage release] is really suspicious.
On Friday, June 18, 2010, Jens Alfke <email@hidden> wrote:
>
> On Jun 18, 2010, at 9:20 AM, Mike Abdullah wrote:
>
>> Aside from your actual question, I urge you to go back and read the Cocoa fundamentals. Your method names are totally wrong,
>
> I only saw one error: the method name “GetNSImage” should probably be “image” (method names should be lowercase unless they begin with a common acronym like “URL” or “TIFF”, and the prefix “get” is not used.)
>
>> and the memory management guide covers all the details of -autorelease.
>
> Has it been extended to discuss objects referenced inside blocks? That’s a pretty tricky detail.
>
> —Jens_______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden