Issue #777

Sometimes we need to use dynamic selector and that triggers warning in Swift

Selector("updateWithCount:") // Use '#selector' instead of explicitly constructing a 'Selector'

In ObjC we can use clang macro to suppress, like below

#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-implementations"

- (void) deprecated_objc_method_override {

#pragma clang diagnostic pop

But in Swift, we can just use a dummy NSObject that has the needed methods, like

final class Dummy: NSObject {
    @objc func update(count: Int) {}

#selector is just a safer way to construct Selector, they all yield same result as String

Selector("updateWithCount:") // updateWithCount:
#selector(Dummy.update(count:)) // updateWithCount: