Returns the document object whose window controller owns a specified window.
Original signature is '- (id)documentForWindow:(NSWindow *)window'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- window (NSWindow)
- MISSING
Return Value
The document object whose window controller owns window. Returns nil if window is nil, if window has no window controller, or if the window controller does not have an association with an instance of NSDocument.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)