import PlaygroundSupport
PlaygroundPage.current.needsIndefiniteExecution = true
を記述すると実行される
// 5秒後に実行
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .seconds(5)) {
// 処理
}
Go to list of users who liked
More than 5 years have passed since last update.
import PlaygroundSupport
PlaygroundPage.current.needsIndefiniteExecution = true
を記述すると実行される
// 5秒後に実行
DispatchQueue.main.asyncAfter(deadline: DispatchTime.now() + .seconds(5)) {
// 処理
}
Register as a new user and use Qiita more conveniently
Go to list of users who liked