I have a document-based application but I am not using undo. How do I change the status of my window to be 'dirty' and certain times?
Thanks.
I have a document-based application but I am not using undo. How do I change the status of my window to be 'dirty' and certain times?
Thanks.
NSDocument has an -updateChangeCount:
method. The constants you can pass are described in Apple's documentation.