| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
1) Create a folder for your help file(s) a good convention to follow is "MyAppName Help"
2) Choose the "Create Folder References for any added folders" when adding this folder to your project.
3) Place your help content into the folder
4) In the top level file for your help add a Meta tag <meta name="AppleTitle" content="MyAppName Help Title">
5) Add two (2) keys to your app's info.plist one global, the other localizable
a) Choose "Expert" under the "Application Settings" tab for your Target
b) Add the key "CFBundleHelpBookFolder" whose value is the same as the name of your help folder
c) In your InfoPlist.strings file add the key CFBundleHelpBookName whose value is the same as the value of content attribute for the AppleTitle Meta tag for example
CFBundleHelpBookName = "MyAppName Help Title";
6) Also be sure to fill in the HTML help file entry under "Simple" under "Application Settings"; the value for this entry should be the name of the file containing the AppleTitle meta tag.
7) In the nib file containing your app's main menu, make sure that the Help menu item for your app is connected the First Responder's showHelp: action
8) Build and test. Choosing "MyAppName Help" from the Help menu should now open your help file in Help Viewer.
For info on accessing other features of Help Viewer such as indexed searching download the Apple Help SDK and read the Help Reference and Style Guide. Note: OS X apps should use the Apple Help Indexing Tool located in the Carbon SDK. Also the April 2001 issue of MacTech Magazine has an article by Andrew Stone explaining the HOWTO for Apple Help.
Dave
--
Chaos Assembly Werks
"Nothing is too good to be true, except, perhaps, the morality of a bishop."
- Israel Zangwill
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
| References: | |
| >Re: Help doesn't work (From: David P Henderson <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.