Re: providing Apple Help in cocoa app
Re: providing Apple Help in cocoa app
- Subject: Re: providing Apple Help in cocoa app
- From: Matt Neuburg <email@hidden>
- Date: Mon, 05 Jun 2006 16:30:45 -0700
- Thread-topic: providing Apple Help in cocoa app
On Mon, 5 Jun 2006 23:45:53 +0200, "Daniel Angermeier"
<email@hidden> said:
>> Find the built application bundle and open it in the Finder with Show
>> Package Contents. Is there, in fact, a folder Contents/Resources/Help? m.
>
>finally! that was it! this help thing was close to driving me insane.
>only the index file was located the resources folder. when I manually
>created the Help folder in the exetubale package content and dropped
>the index.html into it and launched the app help appeared.
>how can I let xcode automatically do this ?
Basically it's a question of understanding Xcode. The thing you were
originally calling a "folder" is not a folder; it is just a division in
Xcode's presentation of the files belonging to the project. What you want to
do is instruct Xcode to copy a folder called "Help" into Resources (and its
contained files into that). There are several ways to do this. For a large
folder of Help documents, it is easiest to start by creating the Help folder
in the Finder and adding *that* to the project, specifying that you want to
create a Folder Reference. If you read the Xcode documentation page called
"Adding Files, Frameworks, and Folders to a Project," you will find that in
fact it talks specifically about using this technique to get a folder full
of Help files into your app.
I don't know what online tutorials you looked at, but there are several very
good short tutorials on adding Help to your app:
<http://cocoadevcentral.com/articles/000072.php>
<http://www.stone.com/The_Cocoa_Files/Help_On_The_Way_.html>
and they are quite clear on this point. Also there are now several good
books on Xcode.
m.
>On 6/5/06, Matt Neuburg <email@hidden> wrote:
>> On Sun, 4 Jun 2006 01:39:56 +0200, "Daniel Angermeier"
>> <email@hidden> said:
>> >Hi,
>> >
>> >I've been struggling to get help working in my app. I precicely
>> >followed the steps I've read in previous posts and online tutorials
>> >but for some reason this won't work.
>> >these are the steps I do:
>> >-I create a sub folder in resources called "Help"
>>
>> Find the built application bundle and open it in the Finder with Show
>> Package Contents. Is there, in fact, a folder Contents/Resources/Help? m.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden