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: Sean McBride <email@hidden>
- Date: Fri, 24 Feb 2012 15:36:34 -0500
- Organization: Rogue Research Inc.
On Fri, 24 Feb 2012 10:36:51 -0700, Keary Suska said:
>I don't believe this is the case. There can be funny issues with BOOL
>types, such that BOOL == YES is an inadvisable construct, since your
>BOOL could be an integer of any value.
Indeed, and it's extremely frustrating. I encourage you to file bugs on this, or maybe add a comment here:
<http://llvm.org/bugs/show_bug.cgi?id=9194>
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
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