Hooking up Help menu item
Hooking up Help menu item
- Subject: Hooking up Help menu item
- From: Roland King <email@hidden>
- Date: Sat, 15 Feb 2014 17:40:31 +0800
I want the help menu item in my app to redirect to a webpage, the redirect I can do fine, it's hooking it up confuses me.
That menu item sends by default showHelp: to First Responder. So I wrote a showHelp: method in the App Delegate but it doesn't get called, I still get the 'help not available' popup.
I have a different menu item which sends a custom action, onCommandLog: to First Responder and that one does happily find the implementation in the App Delegate, why does the menu showHelp: not work the same way? I can hook it up directly to the delegate but I'm trying to use (and understand) the responder chain.
This is the second responder chain issue which has confused me, another menu item had to be hooked up to point directly to an NSView subclass because sending that to First Responder didn't work either. I eventually decided the window wasn't in the chain so it wasn't getting it.
_______________________________________________
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