Re: Impossible leak warning in OS X init method
Re: Impossible leak warning in OS X init method
- Subject: Re: Impossible leak warning in OS X init method
- From: Jens Alfke <email@hidden>
- Date: Sat, 29 Aug 2015 11:54:08 -0700
That code looks fine to me, and it’s exactly the same style of init method that I use (except that I now use ARC so I don’t have to write the [self release] call.)
Is it possible that, in removing details from your code, you left out some detail that’s what’s causing the warning? Do you mind posting the actual method, copied/pasted verbatim from Xcode?
—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