1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-11-28 02:54:31 +03:00
vimr/SwiftNeoVim/DispatchUtils.swift

16 lines
296 B
Swift

/**
* Tae Won Ha - http://taewon.de - @hataewon
* See LICENSE
*/
import Cocoa
public class DispatchUtils {
private static let qDispatchMainQueue = dispatch_get_main_queue()
public static func gui(call: () -> Void) {
dispatch_async(DispatchUtils.qDispatchMainQueue, call)
}
}