There is BOOL, bool, and Boolean, and then there is YES/NO, true/false, and TRUE/FALSE.
For Objective C, use BOOL and YES/NO. The rest are probably for compatibility with C code. Most of the time they seem to be usable interchangeably though, but just to be on the safe side, stick to what Objective C defines.
References:
No comments:
Post a Comment