Re: Any way to get a warning if a non-boolean type is used in an if expression?
Re: Any way to get a warning if a non-boolean type is used in an if expression?
- Subject: Re: Any way to get a warning if a non-boolean type is used in an if expression?
- From: Sean McBride <email@hidden>
- Date: Fri, 18 Oct 2013 13:45:46 -0400
- Organization: Rogue Research Inc.
On Fri, 18 Oct 2013 10:12:47 -0700, David Duncan said:
>> Yes, it would work with 'bool'. Hopefully Obj-C will one day change
>> BOOL from char to bool.
>
>BOOL is defined as a true boolean type on 64-bit iOS.
Cool! I hadn't seen that anywhere (then again I don't do iOS). I hope this gets to Mac OS soon, though I understand the compatibility constraints.
What happens with @encode(BOOL)? How about archiving/dearchiving old archives?
Cheers,
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden