Instance Property

document

The document associated with the window controller.

Declaration

@property(assign) id document;

Discussion

The value of this property is nil if no document is associated with the window. When a window controller is added to a document's list of window controllers, the document uses this property to set the window controller’s document; you should not set this property. AppKit uses this property to access the document for relevant next-responder messages.

See Also

Accessing the Document

- setDocumentEdited:

Sets the document edited flag for the window controller.