setDocumentEdited(_:)
Sets the document edited flag for the window controller.
Declaration
func setDocumentEdited(_ dirtyFlag: Bool)Parameters
Discussion
The window controller uses this flag to control whether its associated window shows up as dirty. You should not call this method directly for window controllers with an associated document; the document calls this method on its window controllers as needed.