Re: Application Menu - Preferences
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