Skip navigation.
 
mlRe: programmatically placing GUIs
FROM : Ken Thomases
DATE : Sat Mar 01 12:02:37 2008

On Feb 27, 2008, at 3:25 PM, Daniel Child wrote:

> In addition, I see that in the debugger there is both a "window" and 
> a "_window" variable under self (the controller). Does this mean you 
> are not supposed to formally declare an outlet for the controller's 
> window?


NSWindowController has a window outlet already.  Your custom subclass 
of NSWindowController should not declare its own outlet.

The fact that NSWindowController uses "_window" as its ivar name 
doesn't matter.  The NIB-loading machinery will use setWindow: to 
connect the outlet, not direct access to the ivar.

-Ken

Related mailsAuthorDate
mlprogrammatically placing GUIs Daniel Child Feb 27, 22:25
mlRe: programmatically placing GUIs Ken Worley Feb 27, 22:46
mlRe: programmatically placing GUIs Quincey Morris Feb 28, 00:34
mlRe: programmatically placing GUIs Ken Thomases Mar 1, 12:02