Hello Everyone, one quick question:
Im starting with Aaron's book (page 150) learning about the undomanager, there is this one piece of code that reads:
Code:
if([undo groupingLevel])
But I've checked the documentation and a NSInteger is returned from that instance method.
Quote:
Return Value
An integer indicating the number of nested groups. If 0 is returned, there is no open undo or redo group.
|
Is 0 the same as FALSE in Obj-C/Cocoa?
Greetings,
Alex