Creating Help for my App.
-
How can I create the Help for Help Viewer for my App.?
I found a documentation for Carbon Apps, and no for Cocoa Apps.
I'm using XCode.
_________________ -
There is a really excellent tutorial on how to do this at
http://www.stone.com/The_Cocoa_Files/Help_On_The_Way_.html
Cheers, kyrah
--
We are Elektropeople for a better living.
Karin Kosina, KSC (vka kyrah)
http://kyrah.net -
On 14 Sep 2004, at 16:49, <info...> wrote:
> How can I create the Help for Help Viewer for my App.?
> I found a documentation for Carbon Apps, and no for Cocoa Apps.
See
<http://developer.apple.com/documentation/Carbon/Conceptual/
ProvidingUserAssitAppleHelp/index.html>. You could have found this
under Cocoa-> User Experience.
There is also
<http://developer.apple.com/documentation/Cocoa/Conceptual/OnlineHelp/
index.html>. This is also well signposted in the Cocoa documentation,
is number 3 in the results when you type "cocoa help" into the search
box in the top-right corner of every page on ADC, and points to the
Providing User Assistance with Apple Help documentation.
-- Finlay -
You shouldn't need to do anything different. Apple Help is Apple Help,
HTML is HTML. Just follow the instructions on creating a help book and
registering it in your Info.plist and you'll be fine.
Assuming you've got everything included and registered properly in the
plist, the Cocoa-default "Help->[appname] Help" menu item should work
automatically.
If you want more complex stuff like going to anchors programmatically,
you'll have to use Carbon calls.
On Sep 14, 2004, at 11:49, <info...> wrote:
> How can I create the Help for Help Viewer for my App.?
> I found a documentation for Carbon Apps, and no for Cocoa Apps.
>
> I'm using XCode.
--
David Reed | <parmadil...> | AIM/iChat: parmadil01 -
> How can I create the Help for Help Viewer for my App.?
> I found a documentation for Carbon Apps, and no for Cocoa Apps.
>
> I'm using XCode.
i had the same question two days ago, and had to look all over the
internet for an example because the Cocoa OnlineHelp page doesn't have
any.
http://developer.apple.com/documentation/Cocoa/Conceptual/OnlineHelp/
http://developer.apple.com/qa/qa2001/qa1022.html
1. add CFBundleHelpBookFolder and CFBundleHelpBookName to Info.plist or
InfoPlist.strings (e.g. "My Help Book" and "My Help")
2. create "My Help Book" in English.lproj, and create index.html (see
below) in it.
3. add "My Help Book" folder to your project (uncheck "Copy items into
destination group's folder", and select "Create Folder References for
any added folders")
index.html
<HTML>
<HEAD>
<META HTTP-EQUIV="content-type"
CONTENT="text/html;charset=iso-8859-1">
<TITLE>My Help Page</TITLE>
<META NAME="AppleTitle" CONTENT="My Help">
</HEAD>
<BODY BGCOLOR="#ffffff">
<P>My Help!</P>
</BODY>
</HTML>
regards,
katsura



