Re: init method ambiguity
Re: init method ambiguity
- Subject: Re: init method ambiguity
- From: Kyle Sluder <email@hidden>
- Date: Thu, 4 Nov 2010 09:43:44 -0700
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
--Kyle Sluder
_______________________________________________
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