Instance Property


A Boolean value indicating whether the document owns or should own an undo manager object.


@property BOOL hasUndoManager;


If you change the value of this property to NO and the document already owns an NSUndoManager object, the document removes the undo manager as an observer of undo-related notifications and then removes its reference to the object.

See Also

Working with Undo Manager


The document’s undo manager object.

- updateChangeCount:

Updates the receiver’s change count according to the given change type.