MCQs > IT & Programming > Swift > Which of these is an appropriate syntax for dispatching a heavy operation to a background thread?

Swift MCQs

Which of these is an appropriate syntax for dispatching a heavy operation to a background thread?

Answer

Correct Answer: dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIO RITY_BACKGROUND, 0), { self.heavyOperation() })

Explanation:

Note: This Question is unanswered, help us to find answer for this one

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Swift Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it