Re: merging NSWindow and NSView controllers

2010-06-19 Thread Shane
On Sat, Jun 19, 2010 at 8:34 PM, Chris Hanson wrote: > What kind of "drawing in their NSView" do these controllers do right now? > Perhaps that code should be in an NSView subclass and that subclass should be > used in both controllers' nibs. > It's pretty simple line graph and plots using NSBe

Re: merging NSWindow and NSView controllers

2010-06-19 Thread Chris Hanson
What kind of "drawing in their NSView" do these controllers do right now? Perhaps that code should be in an NSView subclass and that subclass should be used in both controllers' nibs. -- Chris On Jun 19, 2010, at 4:58 PM, Shane wrote: > I have an applications with two controllers, one inh

merging NSWindow and NSView controllers

2010-06-19 Thread Shane
I have an applications with two controllers, one inherits NSWindowController and uses initWithWindowNibName:, and the other inherits NSViewController and uses initWithNibName: Yet, other than the init function which uses different *.nib files in each, the rest of the code in the controller is exac