Re: [Obj-C] if (self) vs. if (self != nil)
Re: [Obj-C] if (self) vs. if (self != nil)
- Subject: Re: [Obj-C] if (self) vs. if (self != nil)
- From: Scott Ribe <email@hidden>
- Date: Fri, 24 Feb 2012 15:04:14 -0700
On Feb 24, 2012, at 2:47 PM, Ben Kennedy wrote:
> Fortunately the compiler (nowadays) warns in these situations, and suggests that one either fix the operator or enclose the expression in extra parentheses to clarify the intent.
Sometimes. I've found that various warnings come & go with Xcode versions, without my changing project settings.
--
Scott Ribe
email@hidden
http://www.elevated-dev.com/
(303) 722-0567 voice
_______________________________________________
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