• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Help Indexing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 &#160;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

  • Follow-Ups:
    • Re: Help Indexing
      • From: "Frank D. Engel, Jr." <email@hidden>
References: 
 >Help Indexing (From: "Frank D. Engel, Jr." <email@hidden>)
 >Re: Help Indexing (From: Jerome Krinock <email@hidden>)
 >Re: Help Indexing (From: "Frank D. Engel, Jr." <email@hidden>)

  • Prev by Date: Re: Translating KVO-ed property to Swift
  • Next by Date: Re: Translating KVO-ed property to Swift
  • Previous by thread: Re: Help Indexing
  • Next by thread: Re: Help Indexing
  • Index(es):
    • Date
    • Thread