Hi,
I'm new to Objective-C and I saw the "new type" BOOL (YES, NO).
I read that this type is almost like a char.
For testing I did :
NSLog(@"Size of BOOL %d", sizeof(BOOL));
NSLog(@"Size of bool %d", sizeof(bool));
Good to see that both logs display "1" (sometimes in C++ bool is an int and its sizeof is 4)
So I was just wondering I there were some issues with the bool type or something ?
Can I just use bool (that seems to work) without losing speed?
Thanks for your answers