• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: programmatically placing GUIs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Returning values from objc_msgSend etc
  • Next by Date: Re: best time to alter GUIs
  • Previous by thread: Re: Returning values from objc_msgSend etc
  • Next by thread: Re: best time to alter GUIs
  • Index(es):
    • Date
    • Thread