Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift dispatch after

let deadlineTime = DispatchTime.now() + .seconds(1)
DispatchQueue.main.asyncAfter(deadline: deadlineTime) {
    print("test")
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swift #dispatch
ADD COMMENT
Topic
Name
7+6 =