Can't find the Cocoa API call to set the modified marker of a window.
Asked
Active
Viewed 348 times
1 Answers
6
If you’re using the NSDocument architecture it should happen automatically.
If not, and you’re using NSWindowController, you should use its setDocumentEdited:
method.
If you’re not using a window controller, use NSWindow’s setDocumentEdited:
method.

Todd Yandell
- 14,656
- 2
- 50
- 37
-
I shouldn't start coding in the morning without a coffee. Thanks. – Lothar Aug 27 '10 at 05:11