• 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: Last Apple Help question (hopefully)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Last Apple Help question (hopefully)


  • Subject: Re: Last Apple Help question (hopefully)
  • From: Graham Cox <email@hidden>
  • Date: Wed, 16 Sep 2009 21:59:31 +1000

Hi Andy,

You could use NSHelpManager instead, which is more cocoa-y.

I handle my help buttons with this, which uses the help button's title to store the help item anchor (help buttons don't have visible titles)

- (IBAction) showHelpItemWithTitleOfSender:(id) sender
{
NSString* book = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleHelpBookName"];
NSString* anchor = [sender title];
[[NSHelpManager sharedHelpManager] openHelpAnchor:anchor inBook:book];
}


--Graham




On 16/09/2009, at 7:37 AM, Andy Bettis wrote:

My fellow bohemians,

My Help Book is now working fine - so much so that I've decided to add little help buttons on parts of the UI. All is well except that my call to AHGotoPage() can't find the function. What do I need to include? I know it's in AppleHelp.h but what's the format of the #include to get this, er, included.

Apologies if this is a stupid question.

Rev. Andy

_______________________________________________

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: Last Apple Help question (hopefully)
      • From: Andy Bettis <email@hidden>
    • Re: Last Apple Help question (hopefully)
      • From: Jerry Krinock <email@hidden>
References: 
 >Last Apple Help question (hopefully) (From: Andy Bettis <email@hidden>)

  • Prev by Date: Last Apple Help question (hopefully)
  • Next by Date: Re: How to debug over-release of private Cocoa object?
  • Previous by thread: Last Apple Help question (hopefully)
  • Next by thread: Re: Last Apple Help question (hopefully)
  • Index(es):
    • Date
    • Thread