- performSelector:withObject:
let ret: AnyObject! = self.swift_performSelector("say:", withObject: "hello")
println("ret = \(ret)");
- performSelector:withObject:afterDelay:
self.swift_performSelector("say:", withObject: "hello", afterDelay: 3.0)
// Podfile
pod 'performSelector-swift'
and
pod install
and
// YOur Bridging-Header.h
#import "performSelector-swift.h"