> On 5 Jul 2016, at 21:41, Douglas Gregor <[email protected]> wrote:
> 
>> The following comment is incorrect, AFAIK. The `helpAnchor` is the name 
>> attribute of a HTML anchor element.
>> 
>>      /// A localized message providing "help" text if the user requests help.
>>      var helpAnchor: String? { get }
> 
> Apple’s documentation says:
> 
> NSHelpAnchorErrorKey
> The corresponding value is an NSString containing the localized help 
> corresponding to the help button. See helpAnchor 
> <https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSError_Class/#//apple_ref/occ/instp/NSError/helpAnchor>
>  for more information.
> 

A `helpAnchor` in AppKit is the name of an HTML anchor element:

AppKit > NSPrintPanel > helpAnchor
<https://developer.apple.com/reference/appkit/nsprintpanel/1490537-helpanchor>

AppKit > NSHelpManager > openHelpAnchor(_:inBook:)
<https://developer.apple.com/reference/appkit/nshelpmanager/1500908-openhelpanchor>

Apple Help Programming Guide > Authoring Apple Help > Indexing Your Help Book > 
Setting Anchors
<https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/ProvidingUserAssitAppleHelp/authoring_help/authoring_help_book.html#//apple_ref/doc/uid/TP30000903-CH206-CHDFBEHF>

-- Ben

_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to