Suggested approach: Most developers have used Grand Central Dispatch at some point, either explicitly or implicitly – here the interviewer is probably trying to figure out which it is. You can approach this directly using DispatchQueue
if you want, but you might also want to consider OperationQueue
.
Estimated difficulty: Intermediate
See the full list of iOS interview questions
Link copied to your pasteboard.