When IBOutlet components of NSWindow are initialized?-Collection of common programming errors
I show modal subclassed window:
NSWindowController* controller = [[NSWindowController alloc] initWithWindowNibName: @"MyWindow"];
[NSApp runModalForWindow: [controller window]];
And I override initWithContentRect:(NSRect)contentRect styleMask:(NSUInteger)aStyle backing:(NSBackingStoreType)bufferingType defer:(BOOL)flag in my window subclass to setup children views which are linked to nib file. But these children are not initialized at this moment (are nil).
Where to place my initialization code?