Great idea, but why make it a free function instead of a Selector
initializer?

    let sel1 = Selector(UIView.`insertSubview(_:at:)`)
    let sel2 = Selector(UIView.`frame.get`)

Of course if there were such a thing as
GeneralizedFunctionNameLiteralConvertible, we could get a “free” conversion
to Selector:

    control.sendAction(MyTarget.`doSomething(_:)`, to: target, forEvent:
event)
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to