• 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: Getting reference to NSWindowController from subviews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Getting reference to NSWindowController from subviews


  • Subject: Re: Getting reference to NSWindowController from subviews
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 2 Dec 2009 17:31:06 -0800

On Dec 2, 2009, at 5:26 PM, PCWiz wrote:

> What is the best way to get a reference to my NSWindowController object from subviews of its window?

self.window.delegate ... since NSWindowController relies on being its NSWindow's delegate.

—Jens_______________________________________________

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

References: 
 >Getting reference to NSWindowController from subviews (From: PCWiz <email@hidden>)

  • Prev by Date: Getting reference to NSWindowController from subviews
  • Next by Date: Re: Getting reference to NSWindowController from subviews
  • Previous by thread: Getting reference to NSWindowController from subviews
  • Next by thread: Re: Getting reference to NSWindowController from subviews
  • Index(es):
    • Date
    • Thread