Re: Help Indexing
Re: Help Indexing
- Subject: Re: Help Indexing
- From: Jerome Krinock <email@hidden>
- Date: Mon, 17 Apr 2017 07:28:52 -0700
> On 2017 Apr 14, at 18:17, Frank D. Engel, Jr. <email@hidden> wrote:
>
> <a name="refLayers"></a>
In my Help Book, my working anchors use `id` instead of `name`. I forgot why. Example:
<h2><a id="testAgentsSmarky"></a>2.3.1  Testing Syncing in Smarky</h2>
> NSLog(@"help: '%@'", what);
> NSString *locBookName = [[NSBundle mainBundle] objectForInfoDictionaryKey: @"CFBundleHelpBookName"];
> [[NSHelpManager sharedHelpManager] openHelpAnchor:what inBook:locBookName];
Looks OK but you should log that locBookName too.
If neither of these suggestions fixes the problem, the next level of trouble is caching by Apple Help Viewer. Try running this script, or pieces of it, in Terminal.app.
https://github.com/jerrykrinock/DeveloperScripts/blob/master/HelpViewerHammer.sh
I’ve not had to use it in several years, though. Maybe Apple has fixed the caching.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden