Question : swift thread.sleep
Answered by : yellowed-yacare-bmxv3qq23w65
while (true){ print("sleep for 2 seconds.") sleep(2) // working
}
Source : https://stackoverflow.com/questions/38119742/how-to-sleep-for-few-milliseconds-in-swift-2-2/40756196 | Last Update : Wed, 28 Oct 20