Convenience method for calling GCD dispatch_after

Jacky
2015-11-25T21:38:44Z

Delay.swift

| public func delay(delay: NSTimeInterval, closure:() -> ()) {
| dispatch_after(dispatch_time(DISPATCH_TIME_NOW, Int64(delay * Double(NSEC_PER_SEC))), dispatch_get_main_queue(), closure)
| }