[swift-evolution] [Review] SE-0022: Referencing the Objective-C selector of a method

Rob Mayoff mayoff at dqd.com
Wed Jan 20 22:41:11 CST 2016

On Wed, Jan 20, 2016 at 9:39 PM, Chris Lattner via swift-evolution <
swift-evolution at swift.org> wrote:

> That said, I’m in favor of x.selector, or #selector(x).  The former seems
> more syntactically elegant if it is practical.

It seems like #selector(x) would make it easier to get good autocompletion
(like Xcode's autocompletion of @selector(x) in ObjC doesn't insert
argument placeholders).
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160120/f7525f53/attachment.html>

More information about the swift-evolution mailing list