mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-01 01:32:04 +03:00
16 lines
301 B
Swift
16 lines
301 B
Swift
/**
|
|
* Tae Won Ha - http://taewon.de - @hataewon
|
|
* See LICENSE
|
|
*/
|
|
|
|
import Foundation
|
|
|
|
public class DispatchUtils {
|
|
|
|
private static let qDispatchMainQueue = dispatch_get_main_queue()
|
|
|
|
public static func gui(call: () -> Void) {
|
|
dispatch_async(DispatchUtils.qDispatchMainQueue, call)
|
|
}
|
|
}
|