Re: "Hello World" examples for Apple Help?
Re: "Hello World" examples for Apple Help?
- Subject: Re: "Hello World" examples for Apple Help?
- From: Christiaan Hofman <email@hidden>
- Date: Wed, 23 Feb 2011 00:07:05 +0100
On Feb 22, 2011, at 23:10, Todd Heberlein wrote:
> I am looking for some simple "Hello World" level examples of adding Help information to an Xcode project in *Snow Leopard*. Any favorite tutorials that you would recommend?
>
>
> I've been reading the "Apple Help Programming Guide", and I found an example for Leopard (10.5) on ehow.com
>
> http://www.ehow.com/how_7515811_do-add-xcode-project.html
>
> but things still seem a little unclear to me. For example, while looking at examples, I see that Safari uses the "AppleTitle" and "AppleIcon" meta tags in its title page, but Mail and Terminal do not (this information is provided in the Info.plist under HPDBookAccessPath and HPDBookIconPath).
>
> Some of the paths and directory layouts mentioned in the "Apple Help Programming Guide" (for example, for Mail) are not correct with the current Mail layout (although the example for Mail does look consistent with the current Safari directory structure). I'm thinking that the current Safari is still using the "old way" while Mail and Terminal are using the "new way", but I can't find any examples for the "new way".
>
> I think my brain is going to pop.
>
> Todd
Indeed, Safari is using the old (10.5 and earlier) approach, while Mail is using the new (10.6) approach using an embedded .help bundle. The current Apple Help Programming Guide describes the new approach. I can't tell you about a sample for the new approach, but I fail to see why the programming guide should not be sufficient. The main thing is about the (standard) bundle folder hierarchy, and the Info.plist keys, which all is described there. All the rest of the organization (like pgs, gfx, sty, scrpt) is really just up to you, both in the old and new approach. You can organize it in the way described in the guide, but you don't have to.
Christiaan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden