【发布时间】:2016-09-20 09:15:23
【问题描述】:
我一直在 swift3 中寻找类似 dispatch_apply 的东西。请帮帮我
转换
let queue = dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0);
dispatch_apply(2, queue) { (index) in
}
【问题讨论】:
-
DispatchQueue.concurrentPerform(iterations: