<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jul 5, 2016, at 10:35 PM, Ben Rimmington &lt;<a href="mailto:me@benrimmington.com" class="">me@benrimmington.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 5 Jul 2016, at 21:41, Douglas Gregor &lt;<a href="mailto:dgregor@apple.com" class="">dgregor@apple.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class=""><blockquote type="cite" class="" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><div class=""><div class="">The following comment is incorrect, AFAIK. The `helpAnchor` is the name attribute of a HTML anchor element.<br class=""><br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>/// A localized message providing "help" text if the user requests help.<br class=""><span class="Apple-tab-span" style="white-space: pre;">        </span>var helpAnchor: String? { get }<br class=""></div></div></blockquote><div style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br class=""></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Apple’s documentation says:</span></div><div class=""><br class=""></div><div class=""><p class="Objective-C para" style="border: 0px; font-size: 1.4em; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px; display: inline-block; font-family: Helvetica, Arial, sans-serif;"><code class="code-voice" style="border: 0px; font-size: 0.85em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(128, 128, 128); font-family: Menlo, monospace; word-wrap: break-word; position: relative;">NSHelpAnchorErrorKey</code></p><span class="" style="font-family: Helvetica, Arial, sans-serif; font-size: 10px; background-color: rgb(249, 249, 249);"></span><div class="definition" style="border: 0px; font-size: 10px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline; font-family: Helvetica, Arial, sans-serif;"><p class="para" style="border: 0px; font-size: 1.4em; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px;">The corresponding value is an&nbsp;<code class="code-voice" style="border: 0px; font-size: 0.85em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(128, 128, 128); font-family: Menlo, monospace; word-wrap: break-word;">NSString</code>&nbsp;containing the localized help corresponding to the help button. See&nbsp;<code class="code-voice" style="border: 0px; font-size: 0.85em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(128, 128, 128); font-family: Menlo, monospace; word-wrap: break-word;"><a href="https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSError_Class/#//apple_ref/occ/instp/NSError/helpAnchor" data-renderer-version="2" class="" style="border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 136, 204); text-decoration: none;">helpAnchor</a></code>&nbsp;for more information.</p></div></div></div></div></blockquote></div><br class=""><div class=""><div class="">A `helpAnchor` in <i class="">AppKit</i> is the name of an HTML anchor element:</div><div class=""><br class=""></div><div class=""><b class="">AppKit &gt; NSPrintPanel &gt; helpAnchor</b></div><div class="">&lt;<a href="https://developer.apple.com/reference/appkit/nsprintpanel/1490537-helpanchor" class="">https://developer.apple.com/reference/appkit/nsprintpanel/1490537-helpanchor</a>&gt;</div><div class=""><br class=""></div><div class=""><b class="">AppKit &gt; NSHelpManager &gt; openHelpAnchor(_:inBook:)</b></div><div class="">&lt;<a href="https://developer.apple.com/reference/appkit/nshelpmanager/1500908-openhelpanchor" class="">https://developer.apple.com/reference/appkit/nshelpmanager/1500908-openhelpanchor</a>&gt;</div><div class=""><br class=""></div><div class=""><b class="">Apple Help Programming Guide &gt; Authoring Apple Help &gt; Indexing Your Help Book &gt; Setting Anchors</b></div><div class="">&lt;<a href="https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/ProvidingUserAssitAppleHelp/authoring_help/authoring_help_book.html#//apple_ref/doc/uid/TP30000903-CH206-CHDFBEHF" class="">https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/ProvidingUserAssitAppleHelp/authoring_help/authoring_help_book.html#//apple_ref/doc/uid/TP30000903-CH206-CHDFBEHF</a>&gt;</div></div></div></div></blockquote><br class=""></div><div>The relevant “helpAnchor” is from the NSError reference documentation:</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre">        </span><a href="https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSError_Class/#//apple_ref/occ/instp/NSError/helpAnchor" class="">https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSError_Class/#//apple_ref/occ/instp/NSError/helpAnchor</a></div><div><br class=""></div><div>which says:</div><div><br class=""></div><div><div class="abstract" style="background-color: rgb(249, 249, 249); border: 0px; font-size: 10px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; font-family: Helvetica, Arial, sans-serif;"><p class="para" style="background-color: transparent; border: 0px; font-size: 1.4em; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px; background-position: initial initial; background-repeat: initial initial;">A string to display in response to an alert panel help anchor button being pressed. (read-only)</p></div><div class="declaration" style="background-color: rgb(249, 249, 249); border: 0px; font-size: 10px; margin: 21px 0px 0px; outline: 0px; padding: 0px; vertical-align: baseline; font-family: Helvetica, Arial, sans-serif;"><h4 style="background-color: transparent; border: 0px; font-size: 13px; margin: 21px 0px 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 1.5; background-position: initial initial; background-repeat: initial initial;" class="">Declaration</h4><div class="Swift" style="background-color: transparent; border-width: 0px 0px 0px 5px; border-left-style: solid; border-left-color: rgb(205, 233, 244); margin: 10px 0px 21px; outline: 0px; padding: 4px 0px 2px 10px; vertical-align: baseline;"><div style="background-color: transparent; border: 0px; font-size: 9px; margin: 0px; outline: 0px; padding: 0px 0px 6px; vertical-align: baseline; color: rgb(75, 138, 251); letter-spacing: 2px; text-transform: uppercase; -webkit-user-select: none;" class="">SWIFT</div><div style="background-color: transparent; border: 0px; font-size: 1.4em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px;" class=""><code class="code-voice" style="background-color: transparent; border: 0px; font-size: 0.85em; margin: 0px 0px 15px; outline: 0px; padding: 0px 0px 6px; vertical-align: baseline; color: rgb(0, 0, 0); font-family: Menlo, monospace; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial;"><span class="kt" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(170, 51, 145);">var</span>&nbsp;<span class="nl" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">helpAnchor</span>:&nbsp;<span class="n" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(92, 38, 153);"><a href="https://developer.apple.com/library/mac/documentation/Swift/Reference/Swift_String_Structure/index.html#//apple_ref/swift/struct/s:SS" data-renderer-version="2" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: inherit; text-decoration: none;" class="">String</a></span>? {&nbsp;<span class="kt" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(170, 51, 145);">get</span>&nbsp;}</code></div></div><div class="Objective-C" style="background-color: transparent; border-width: 0px 0px 0px 5px; border-left-style: solid; border-left-color: rgba(0, 155, 51, 0.2); margin: 10px 0px 21px; outline: 0px; padding: 4px 0px 2px 10px; vertical-align: baseline;"><div style="background-color: transparent; border: 0px; font-size: 9px; margin: 0px; outline: 0px; padding: 0px 0px 6px; vertical-align: baseline; color: rgb(0, 155, 51); letter-spacing: 2px; text-transform: uppercase; -webkit-user-select: none;" class="">OBJECTIVE-C</div><div style="background-color: transparent; border: 0px; font-size: 1.4em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px;" class=""><code class="code-voice" style="background-color: transparent; border: 0px; font-size: 0.85em; margin: 0px 0px 15px; outline: 0px; padding: 0px 0px 6px; vertical-align: baseline; color: rgb(0, 0, 0); font-family: Menlo, monospace; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial;"><span class="k" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(170, 13, 145);">@property</span><span class="p" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">(</span><span class="n" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(92, 38, 153);">readonly</span><span class="p" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">,</span>&nbsp;<span class="n" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(92, 38, 153);">copy</span><span class="p" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">)</span>&nbsp;<a href="https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/index.html#//apple_ref/doc/c_ref/NSString" data-renderer-version="2" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: inherit; text-decoration: none;" class=""><span class="n" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(92, 38, 153);">NSString</span>&nbsp;</a><span class="o" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">*</span><span class="n" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(92, 38, 153);">helpAnchor</span></code></div></div></div><div class="discussion" style="background-color: rgb(249, 249, 249); border: 0px; font-size: 10px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; font-family: Helvetica, Arial, sans-serif;"><h4 style="background-color: transparent; border: 0px; font-size: 13px; margin: 21px 0px 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 1.5; background-position: initial initial; background-repeat: initial initial;" class="">Discussion</h4><p class="para" style="background-color: transparent; border: 0px; font-size: 1.4em; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px; background-position: initial initial; background-repeat: initial initial;">The object in the user info dictionary for the key&nbsp;<code class="code-voice" style="background-color: transparent; border: 0px; font-size: 0.85em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(128, 128, 128); font-family: Menlo, monospace; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial;"><a href="https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSError_Class/#//apple_ref/c/data/NSHelpAnchorErrorKey" data-renderer-version="2" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 136, 204); text-decoration: none;" class="">NSHelpAnchorErrorKey</a></code>. If the user info dictionary doesn’t contain a value for&nbsp;<code class="code-voice" style="background-color: transparent; border: 0px; font-size: 0.85em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(128, 128, 128); font-family: Menlo, monospace; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial;"><a href="https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSError_Class/#//apple_ref/c/data/NSHelpAnchorErrorKey" data-renderer-version="2" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 136, 204); text-decoration: none;" class="">NSHelpAnchorErrorKey</a></code>, this property is&nbsp;<code class="code-voice" style="background-color: transparent; border: 0px; font-size: 0.85em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(128, 128, 128); font-family: Menlo, monospace; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial;">nil</code>.</p><p class="para" style="background-color: transparent; border: 0px; font-size: 1.4em; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px; background-position: initial initial; background-repeat: initial initial;">If this property is non-<code class="code-voice" style="background-color: transparent; border: 0px; font-size: 0.85em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(128, 128, 128); font-family: Menlo, monospace; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial;">nil</code>&nbsp;for an error being presented by&nbsp;<code class="code-voice u-api" style="background-color: transparent; border: 0px; font-size: 0.85em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(128, 128, 128); font-family: Menlo, monospace; word-wrap: break-word; background-position: initial initial; background-repeat: initial initial;"><a href="https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSAlert_Class/index.html#//apple_ref/occ/clm/NSAlert/alertWithError:" data-renderer-version="2" style="background-color: transparent; border: 0px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(0, 136, 204); text-decoration: none;" class="">alertWithError:</a></code>, the alert panel will include a help anchor button that can display this string.</p></div><div class="availability" style="background-color: rgb(249, 249, 249); border: 0px; font-size: 10px; margin: 0px 0px 15px; outline: 0px; padding: 0px; vertical-align: baseline; font-family: Helvetica, Arial, sans-serif;"><h4 style="background-color: transparent; border: 0px; font-size: 13px; margin: 21px 0px 0px; outline: 0px; padding: 0px; vertical-align: baseline; line-height: 1.5; background-position: initial initial; background-repeat: initial initial;" class="">Availability</h4><div style="background-color: transparent; border: 0px; font-size: 1.4em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px;" class="">Available in OS X v10.6 and later.</div><div style="background-color: transparent; border: 0px; font-size: 1.4em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px;" class=""><br class=""></div><div style="background-color: transparent; border: 0px; font-size: 1.4em; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline; color: rgb(65, 65, 65); line-height: 20.299999237060547px;" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>- Doug</div></div></div><br class=""></body></html>