<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=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 6, 2016, at 12:53 PM, David Catmull <<a href="mailto:davidcatmull@gmail.com" class="">davidcatmull@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I tried, writing that as @objc(action:) #selector(ClassName.action(_:)) but that got an "expected declaration" error.<div class=""><br class=""></div><div class="">I also tried adding @objc(action:) to the method itself (which seems redundant anyway), but that didn't help either.<br class=""></div></div></div></blockquote></div><br class=""><div class="">The attribute has to go on the method definition. Would you be able to file a bug on <a href="http://bugs.swift.org" class="">bugs.swift.org</a> with your Swift and ObjC code?</div><div class=""><br class=""></div><div class="">-Joe</div></body></html>