Re: What init declaration class needs?
Re: What init declaration class needs?
- Subject: Re: What init declaration class needs?
- From: Sherm Pendley <email@hidden>
- Date: Fri, 13 Feb 2004 10:20:43 -0500
On Feb 13, 2004, at 10:04 AM, Clark Cox wrote:
if(self = [super init])
It's worth noting that GCC 3.3, if -Wall is used, will emit a warning
when assignments are used in conditional statements. To silence the
warning, add a second set of paranthesis like this:
if ((self = [super init]))
sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.