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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to