ios学习

Xcode Playground支持异步执行

2017-06-10  本文已影响2人  fisland

在Xcode playground中能正常执行类似GCD异步代码需要添加以下代码

import PlaygroundSupport
PlaygroundPage.current.needsIndefiniteExecution = true
上一篇 下一篇

猜你喜欢

热点阅读