【文件属性】:
文件名称:GCD:用 Swift 编写的 Grand Central Dispatch 的包装器
文件大小:13KB
文件格式:ZIP
更新时间:2021-06-04 07:24:11
Swift
大中华区
用 Swift 编写的 Grand Central Dispatch 的包装器。
例子
GCD
// submit your code for asynchronous execution on a global queue with high priority
gcd. async (. High ) {
// your code
}
// or with main thread
gcd. async (. Main ) {
// your code
}
gcd. async (. Default ) {
// your code
gcd. async (. Main ) {
// code run on main thread
}
}
// with your custom queue
let myQueue = G
【文件预览】:
GCD-master
----Example()
--------Example.xcodeproj()
--------Example()
--------ExampleTests()
----LICENSE(1KB)
----GCD.swift(7KB)
----.gitignore(252B)
----GCD.podspec(585B)
----README.md(2KB)