On 23 Jul 2008, at 10:55 pm, John Love wrote:
you just need to call updateChangeCount, rather than mess with
overriding NSDocument's –isDocumentEdited.
Well, yes. q.v. what I stated in my last message.
Apple's comments within their "NSDocument.h" state that with:
Can I just ask some
In the following, I have expanded on what I believe I have learned Grayson's
response. (Any errors are mine, not Grayson's)
Apple's comments within their "NSDocument.h" state that with:
- (void)updateChangeCount:(NSDocumentChangeType)change
"Record the fact that a change affecting the value retu
Normally you "tell" a document that it is edited in one of two ways -
either a) by maintaining an Undo stack in which case it "just works",
and b) by calling -updateChangeCount: The method you mention is a
lower level method that is not meant to be overridden, as far as I'm
aware. If you us