Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift thread.sleep

while (true){
    print("sleep for 2 seconds.")
    sleep(2) // working
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift
ADD COMMENT
Topic
Name
9+7 =