Re: init method ambiguity
Re: init method ambiguity
- Subject: Re: init method ambiguity
- From: Sherm Pendley <email@hidden>
- Date: Thu, 4 Nov 2010 13:25:20 -0400
On Thu, Nov 4, 2010 at 12:43 PM, Kyle Sluder <email@hidden> wrote:
> On Thu, Nov 4, 2010 at 9:17 AM, Sherm Pendley <email@hidden> wrote:
>> - (id)initForCamera:(id<CameraProtocol>)cam {
>> [self release];
>
> I remember there being a bit of contention on this, but Greg Parker's
> wisdom seems to be to call [super dealloc], not [self release]:
> http://lists.apple.com/archives/objc-language/2008/Sep/msg00133.html
I certainly won't argue with the Wruntime Wrangler! :-)
sherm--
--
Cocoa programming in Perl:
http://camelbones.sourceforge.net
_______________________________________________
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