mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-24 11:37:32 +03:00
16 lines
296 B
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)
|
|
}
|
|
}
|