• 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: Application Menu - Preferences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application Menu - Preferences


  • Subject: Re: Application Menu - Preferences
  • From: Graham Cox <email@hidden>
  • Date: Thu, 25 Feb 2010 11:44:27 +1100

On 25/02/2010, at 11:28 AM, Gabriel Fernandez wrote:

> But if it doesn't exist, then why not bind Menu->Preferences to the Application Delegate's custom -( IBAction ) preferences: method?

Yep, that would work OK.


> I guess I don't know how to use First Responder to call the Application Delegate, or instances of any other object.


For the most part, it just works. Implementing an action anywhere in the responder chain would generally work. The application delegate is part of that chain.

http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/EventOverview/EventArchitecture/EventArchitecture.html#//apple_ref/doc/uid/10000060i-CH3-SW2


--Graham


_______________________________________________

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: 
 >Re: Application Menu - Preferences (From: Gabriel Fernandez <email@hidden>)
 >Re: Application Menu - Preferences (From: Graham Cox <email@hidden>)
 >Re: Application Menu - Preferences (From: Gabriel Fernandez <email@hidden>)

  • Prev by Date: Re: Looking for info on anti-piracy and trial-mode techniques for my app . . .
  • Next by Date: Re: Stuck on NSTreeController bindings
  • Previous by thread: Re: Application Menu - Preferences
  • Next by thread: Leak on iPhone Application start up.
  • Index(es):
    • Date
    • Thread