Background Threads
let priority = DISPATCH_QUEUE_PRIORITY_DEFAULT
dispatch_async(dispatch_get_global_queue(priority, 0)) {
// create about task
dispatch_async(dispatch_get_main_queue()) {
// update about UI
}
}
0 komentar:
Please comment if there are any that need to be asked.