I know how to tell NSDocument
that there are new changes, with -(void)updateChangeCount:
. But, I can't find a method changeCount
or something like this to check if an NSDocument has unsaved changes.
Is there a way to check that?
Are you looking for -[NSDocument isDocumentEdited]
?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With