Created
October 17, 2020 14:24
-
-
Save 0xSG/91e7cc198c92bce7396139bdf9649927 to your computer and use it in GitHub Desktop.
Background execution of statements swift 4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let dispatchQueue = DispatchQueue(label: "<#background process id#>", qos: .background) | |
dispatchQueue.async{ | |
<#statements#> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment