• 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: Cocoa Help problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa Help problems


  • Subject: Re: Cocoa Help problems
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 20 Apr 2004 19:42:28 -0700

on 04/04/20 16:46, Moray Taylor at email@hidden wrote:

> Hi,
>
> I have an application where the Help system no longer works, it used to
> work fine, so I think all my CFBundle... stuff is OK.
>
> Are there any tools to help me debug this? At the moment, the Apple
> Help viewer just displays a blank page, it doesn't say anything in the
> console about the problem, so at the moment, it's just trial and error.
>

Yes Moray, I believe there are no tools to help you debug it. If you have
everything correct, it will work. If you do not have everything correct,
you'll get the blank page you describe. Here is the idiom that works for
me:

1. In the <dict> of your Info.plist, must be the following two entries:
<key>CFBundleHelpBookFolder</key>
<string>MyAppDocumentation</string>
<key>CFBundleHelpBookName</key>
<string>MyApp Help</string>
or, if you are using CodeWarrior, your .plc file must contain:
key "CFBundleHelpBookFolder" value string "MyAppDocumentation"
key "CFBundleHelpBookName" value string "MyApp Help"

2. Inside MyApp/Contents/Resources/EachLanguage.lproj there should be a
folder named "MyAppDocumentation"

3. Inside this folder, there must be a file with extension .html with a
"meta" tag in the head like this

<html>
<head>
<meta NAME="AppleTitle" content="MyApp Help">
</head>

<body>
// Body for your home page of help
</body>
</html>

I think that should do it. I have also been advised that, even after fixing
this, your computer may still not give the help until you trash the cache of
your Apple Help Viewer.

Jerry
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Cocoa Help problems (From: Moray Taylor <email@hidden>)

  • Prev by Date: Re: Enabling NSMenuItem in Code?
  • Next by Date: Re: How do I get the (int)Value of an NSStepperCell in an NSTableView?
  • Previous by thread: Cocoa Help problems
  • Next by thread: Re: Cocoa Help problems
  • Index(es):
    • Date
    • Thread