Swift Sleep Milliseconds

usleep(1000000) //will sleep for 1 second
usleep(2000) //will sleep for .002 seconds
raulthedeveloper