I would like to design an NSwindow with a WebView in IB for displaying popup links. I need to be able to instantiate any number of these. Is this possible?
views:
41answers:
1
+3
A:
Sure. Typically, your window controller would subclass NSWindowController.
MyWindowController* controller = [[MyWindowController alloc] initWithWindowNibName:@"MyWindowView"];
[controller showWindow];
In your nib, set the Owner to MyWindowController, then hook up your outlets as necessary.
Darren
2009-10-04 02:31:24