You'll need to subclass NSWindowController and override
windowDidLoad, then
ensure that your subclass is instantiated to load the nib. It may be
necessary to ensure that your nib file specifies the class of the
"File's
Owner" to be your NSWindowController subclass.
Why not just override the NSDocument windowControllerDidLoadNib:
method in your NSDocument subclass and then use a delayed perform