<div dir="ltr">I created a simple test project, and found that it didn&#39;t fail. Then I looked at my original test again and realized it was actually failing for other reasons. So never mind :)</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 6, 2016 at 1:55 PM, Joe Groff <span dir="ltr">&lt;<a href="mailto:jgroff@apple.com" target="_blank">jgroff@apple.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><span class=""><br><div><blockquote type="cite"><div>On Dec 6, 2016, at 12:53 PM, David Catmull &lt;<a href="mailto:davidcatmull@gmail.com" target="_blank">davidcatmull@gmail.com</a>&gt; wrote:</div><br class="m_-3009867928160110562Apple-interchange-newline"><div><div dir="ltr">I tried, writing that as @objc(action:) #selector(ClassName.action(_:)<wbr>) but that got an &quot;expected declaration&quot; error.<div><br></div><div>I also tried adding @objc(action:) to the method itself (which seems redundant anyway), but that didn&#39;t help either.<br></div></div></div></blockquote></div><br></span><div>The attribute has to go on the method definition. Would you be able to file a bug on <a href="http://bugs.swift.org" target="_blank">bugs.swift.org</a> with your Swift and ObjC code?</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>-Joe</div></font></span></div></blockquote></div><br></div>