Hacker News new | ask | show | jobs
by objclxt 4827 days ago
> I'm not sure how they did that (#define?) but stay far, far away

...NO and YES in Objective-C are themselves #defines. As others have pointed out, TRUE/FALSE are also already defined in the language, although using them in Objective-C is not good style.

http://www.opensource.apple.com/source/objc4/objc4-371.1/run...