Re: Getting pointer to NSWindowController

2008-10-08 Thread Nirias
That was it. Thanks. On Tue, Oct 7, 2008 at 11:41 PM, Graham Cox <[EMAIL PROTECTED]> wrote: > > On 8 Oct 2008, at 4:00 pm, Nirias wrote: > > It seems I must be doing something wrong since the NSWindow class have a >> property for NSWIndowController isnt documented to always return NULL. >> An

Re: Getting pointer to NSWindowController

2008-10-07 Thread Graham Cox
On 8 Oct 2008, at 4:00 pm, Nirias wrote: It seems I must be doing something wrong since the NSWindow class have a property for NSWIndowController isnt documented to always return NULL. And it is hard to believe that the architects of cocoa intended to require that every bit of shared da

Getting pointer to NSWindowController

2008-10-07 Thread Nirias
I am very new to cocoa and am trying to understand key value coding. I have a document app wherein the NSDocument creates the NSWindowController which loads a NIB that contains a NSView inside an NSWindow. The NSWindow contains the NSView and also a couple of NSTextFields bound to numerical prope