升級(jí)后的延時(shí)方法
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
// your function or code here
}
DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
// your function or code here
}
2017-05-22
arc4random_uniform 為啥沒(méi)這個(gè)函數(shù)了?