Re: programmatically placing GUIs
Re: programmatically placing GUIs
- Subject: Re: programmatically placing GUIs
- From: Ken Thomases <email@hidden>
- Date: Sat, 1 Mar 2008 05:02:37 -0600
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden