I know how to do it for a float:
#define kMyConstant 1.0f
but how could I do that fora BOOL value?
I would do it differently:
enum { MyConstantBool = YES };
It's a constant, it doesn't take up storage space.
#define kMyConstantBOOL YES
Or
static BOOL MyConstantBool = YES;
Here's an example:
#define kMyConstant YES #define kMyOtherConstant NO