• 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: How Do I get informed when -showHelp: has been called?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How Do I get informed when -showHelp: has been called?


  • Subject: Re: How Do I get informed when -showHelp: has been called?
  • From: Gerd Knops <email@hidden>
  • Date: Wed, 29 Jun 2011 10:11:35 -0500

On Jun 29, 2011, at 8:22 AM, Ulf Dunkel wrote:

> I would really like to get a hint on this. Even a simple "not possible" would help. Thank you. :-)
>
> - - - - -
>
> Am 27.06.2011 22:58, schrieb Ulf Dunkel:
>> In a simple app of mine, I use the standard Help menu and MyApp Help
>> menu item, which is bound to -showHelp:.
>>
>> I would like to have my AppDelegate being informed when the Help Viewer
>> has been launched and opened from this menu item.
>>
>> It seems as if the method -showHelp: cannot be overridden. Which other
>> way can I use to receive any information when -showHelp: has been called?
>>
What makes you think -showHelp: (in NSApplication) can not be overridden? Works fine here.

The possibly confusing part when subclassing NSApplication is how to make your app use that subclass. Typically this is done by setting a custom class (your subclass) to the Application object in the MainMenu nib file.

Gerd


_______________________________________________

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: 
 >How Do I get informed when -showHelp: has been called? (From: Ulf Dunkel <email@hidden>)
 >Re: How Do I get informed when -showHelp: has been called? (From: Ulf Dunkel <email@hidden>)

  • Prev by Date: Re: How Do I get informed when -showHelp: has been called?
  • Next by Date: RE: Fuzzy string matching
  • Previous by thread: Re: How Do I get informed when -showHelp: has been called?
  • Next by thread: NSPersistentDocument and custom window controller
  • Index(es):
    • Date
    • Thread