typedef signed char BOOL;// BOOL is explicitly signed so @encode(BOOL) == "c" rather than "C"// even if -funsigned-char is used.define OBJC_BOOL_DEFINEDdefine YES (BOOL)1define NO (BOOL)0
boolean_t t1 = 1;//int typeBoolean t2 = 1; //unsigned char typeBOOL t3 = 4;//YES or NObool t4 = 1;//true or falseNSAssert(t1, @"boolean_t t1 is NO");//通过测试NSAssert(t2, @"boolean_t t2 is NO");//通过测试NSAssert(t3, @"boolean_t t3 is NO");//通过测试NSAssert(t4, @"boolean_t t4 is NO");//通过测试