Possible Duplicate:
What values should I use for iOS boolean states?
I believe there are something like 5 boolean types in iOS environment (which comes from C, C++ and Objective C).
- _Bool
- bool
- BOOL
- boolean_t
- Boolean
And there are at least four pairs of values for them:
- true, false
- TRUE, FALSE
- YES, NO
- 1, 0
Which one do you think is the best (style wise) to use for iOS Objective C development?
Update 1
I mentioned a type "boolean". It looks like it doesn't exist. I removed it from the list and added _Bool.
I am aware of typedef's for these types and values. The question is about style differences.