[swift-evolution] [Review] SE-0112: Improved NSError Bridging

Ben Rimmington me at benrimmington.com
Wed Jul 6 00:35:41 CDT 2016

> On 5 Jul 2016, at 21:41, Douglas Gregor <dgregor at apple.com> 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

AppKit > NSHelpManager > openHelpAnchor(_:inBook:)

Apple Help Programming Guide > Authoring Apple Help > Indexing Your Help Book > Setting Anchors

-- Ben

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160706/80069469/attachment.html>

More information about the swift-evolution mailing list