Declared in NSDocument+DTFoundation.h

Overview

Utility Methods for working with NSDocument instances.

Instance Methods

mainDocumentWindowController

Finds the current window controller showing the main document

- (NSWindowController *)mainDocumentWindowController

Return Value

mainDocumentWindowController The main document window controller

Discussion

At present this always returns the window controller at index 0.

Declared In

NSDocument+DTFoundation.h