How To Use Perfom Selector In Swift Ios/Iphone
NSTimer.scheduledTimerWithTimeInterval(delay, target: self,
selector: "onFlip", userInfo: nil, repeats: false)
func performFlipOnDelay() {
let delayInSeconds = 1.0
let delay = dispatch_time(DISPATCH_TIME_NOW, Int64
(delayInSeconds * Double(NSEC_PER_SEC)))
dispatch_after(delay, dispatch_get_main_queue()) {
onFlip();
}
}