1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-27 15:53: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)
}
}