<div dir="ltr"><a href="http://apple.github.io/swift-internals/api-design-guidelines/">http://apple.github.io/swift-internals/api-design-guidelines/</a><br><div><br></div><div>It&#39;s a matter of interpretation, but:</div><div><br></div><div>    &quot;Prefer method and function names that make use sites form grammatical English phrases.&quot;</div><div><br></div><div>Maybe I&#39;m missing something, but I can&#39;t figure out how to read #selector(setter: Person.name). My second suggestion reads clearly as &quot;the selector for setting Person.name&quot;.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div>Jacob<br></div></div></div></div>
<br><div class="gmail_quote">On Fri, Apr 15, 2016 at 5:03 AM, David Hart <span dir="ltr">&lt;<a href="mailto:david@hartbit.com" target="_blank">david@hartbit.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word">Why? What guideline are you referencing?<div><div class="h5"><div><br><div><blockquote type="cite"><div>On 15 Apr 2016, at 09:53, Jacob Bandes-Storch via swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt; wrote:</div><br><div><div dir="ltr">Was the syntax fully bikeshedded by the core team before acceptance? Perusing the API guidelines, one could also imagine:<div><br>    #selector(setting: Person.name)<br></div><div>    #selector(forSetting: Person.name)</div><div class="gmail_extra"><div><div><div dir="ltr"><div><br></div></div></div></div>
<br><div class="gmail_quote">On Thu, Apr 14, 2016 at 3:58 PM, Douglas Gregor via swift-evolution <span dir="ltr">&lt;<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div style="word-wrap:break-word"><div>Proposal link: <a href="https://github.com/apple/swift-evolution/blob/master/proposals/0064-property-selectors.md" target="_blank">https://github.com/apple/swift-evolution/blob/master/proposals/0064-property-selectors.md</a></div><div><br></div>Hello Swift Community,<div><br></div><div>The review of SE-0064 &quot;Referencing the Objective-C selector of property getters and setters” ran from April 7...12, 2016. The proposal is <b>accepted</b>. Feedback was light but positive, with many considering this to effectively be an obviously-missing piece of the #selector proposal (<a href="https://github.com/apple/swift-evolution/blob/master/proposals/0022-objc-selectors.md" target="_blank">SE-0022</a>).</div><div><br></div><div><div>We welcome an implementation of this proposal. I’ve filed a ticket at</div><div><br></div><div><span style="white-space:pre-wrap">        </span><a href="https://bugs.swift.org/browse/SR-1239" target="_blank">https://bugs.swift.org/browse/SR-1239</a></div><div><br></div><div>to track the implementation.</div></div><div><br></div><div><span style="white-space:pre-wrap">        </span>- Doug</div><div><br></div></div><br>_______________________________________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br>
<br></blockquote></div><br></div></div>
_______________________________________________<br>swift-evolution mailing list<br><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br></div></blockquote></div><br></div></div></div></div></blockquote></div><br></div></div>