Last active
April 20, 2017 14:18
-
-
Save YogevSitton-zz/718a0f063ec14281fd3cb4ae0212b00a to your computer and use it in GitHub Desktop.
Custom Dispatch Queues
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 customSerialQueue = DispatchQueue(label: "com.yogevsitton.MyApp.myCustomSerialQueue") | |
customSerialQueue.async { | |
// Code | |
} | |
let customConcurrentQueue = DispatchQueue(label: "com.yogevsitton.MyApp.myCustomConcurrentQueue", attributes: .concurrent) | |
customConcurrentQueue.async { | |
// Code | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment