<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Yep, you are right. That looks better.</div><br class=""><div><blockquote type="cite" class=""><div class="">On 2016-02-18, at 22:02, Trent Nadeau <<a href="mailto:tanadeau@gmail.com" class="">tanadeau@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Indeed. I quite like the second version.</div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Feb 18, 2016 at 4:01 PM, Thorsten Seitz <span dir="ltr" class=""><<a href="mailto:tseitz42@icloud.com" target="_blank" class="">tseitz42@icloud.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto" class=""><span class=""><div class=""></div><div class=""><br class=""></div><div class="">Am 18.02.2016 um 20:36 schrieb Trent Nadeau via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank" class="">swift-evolution@swift.org</a>>:<br class=""><br class=""></div><blockquote type="cite" class=""><div class=""><div dir="ltr" class="">I would prefer a label on the first parameter, since you're not finding the NSButton type but instead elements having the type of NSButton.<div class=""><br class=""></div><div class=""><span style="font-family:Menlo;font-size:11px" class="">subviews.find(havingType: </span><span style="font-family:Menlo;font-size:11px;color:rgb(112,61,170)" class="">NSButton</span><span style="font-family:Menlo;font-size:11px" class="">.</span><span style="font-family:Menlo;font-size:11px;color:rgb(187,44,162)" class="">self</span><span style="font-family:Menlo;font-size:11px" class="">, matching: { $0.state == </span><span style="font-family:Menlo;font-size:11px;color:rgb(112,61,170)" class="">NSOnState</span><span style="font-family:Menlo;font-size:11px" class=""> })</span></div></div></div></blockquote><div class=""><br class=""></div></span>To comply with the guidelines I would expect a phrase like<div class=""><br class=""></div><div class=""><div dir="ltr" class=""><font class=""><span style="background-color:rgba(255,255,255,0)" class="">subviews.findElement(havingType: NSButton.self, matching: { $0.state == NSOnState })</span></font></div></div><div dir="ltr" class=""><span style="background-color:rgba(255,255,255,0)" class="">subviews.find(instanceOf: NSButton.self, matching: { $0.state == NSOnState })</span></div><span class="HOEnZb"><font color="#888888" class=""><div dir="ltr" class=""><span style="background-color:rgba(255,255,255,0)" class=""><br class=""></span></div><div dir="ltr" class=""><span style="background-color:rgba(255,255,255,0)" class="">-Thorsten </span></div></font></span></div></blockquote></div></div></div></blockquote></div></body></html>