mirror of
https://github.com/qvacua/vimr.git
synced 2024-11-24 03:25:03 +03:00
79f34463a2
- make things open when nec'.
16 lines
304 B
Swift
16 lines
304 B
Swift
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
import Cocoa
|
|
|
|
public class DispatchUtils {
|
|
|
|
fileprivate static let qDispatchMainQueue = DispatchQueue.main
|
|
|
|
public static func gui(_ call: @escaping () -> Void) {
|
|
DispatchUtils.qDispatchMainQueue.async(execute: call)
|
|
}
|
|
}
|