• 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: get a window in front by clicking on a menu item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: get a window in front by clicking on a menu item


  • Subject: Re: get a window in front by clicking on a menu item
  • From: Alexander Spohr <email@hidden>
  • Date: Fri, 5 Jun 2009 20:54:25 +0200

Ah, wait!

Am 05.06.2009 um 18:03 schrieb Martin Batholdy:

My AppController [...] creates an instance of it in the awakeFromNib function.

[...]

I have created a window in the Interface Builder and have connected it with an IBOutlet NSWindow variable in the MenuHandler.

If you create your menuHandler in awakeFromNib, how can you connect it to the window in IB? It not there when you try to connect the outlet.


You seem to connect to another / a wrong menuHandler instance.


atze

_______________________________________________

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


  • Follow-Ups:
    • Re: get a window in front by clicking on a menu item
      • From: Martin Batholdy <email@hidden>
References: 
 >get a window in front by clicking on a menu item (From: Martin Batholdy <email@hidden>)
 >Re: get a window in front by clicking on a menu item (From: Alexander Spohr <email@hidden>)

  • Prev by Date: Re: (newbie) help with combining navigation controller and tab bar controller
  • Next by Date: Re: XIB and AppleGlot
  • Previous by thread: Re: get a window in front by clicking on a menu item
  • Next by thread: Re: get a window in front by clicking on a menu item
  • Index(es):
    • Date
    • Thread