po [NSNumber numberWithBool:NO] Outputs 1
[T]here’s a symbol called
NO
that was loaded onto the address 0x9374bc6a73a0a1. Since the address is different from 0,+numberWithBool:
returns anNSNumber
representing a true value.
But when you’re not in gdb, the value of NO
is supplied by the preprocessor.