Re: self = [super init], nil?
Re: self = [super init], nil?
- Subject: Re: self = [super init], nil?
- From: David Duncan <email@hidden>
- Date: Mon, 10 May 2010 13:24:27 -0700
On May 10, 2010, at 1:18 PM, Henry McGilton wrote:
> Hi Scott. Is there any rationale for the change? Or just Evolution In Action?
I would imagine the biggest reason for the change is that if(self = [super init]) causes a warning for some project settings.
> By the way, I concur with Thomas Davie: treating a pointer as a Boolean makes me nervous.
I don't see any reason not to make the comparison explicit if you desire. I do it all the time :).
--
David Duncan
Apple DTS Animation and Printing
_______________________________________________
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