Question: how gcd works in ios?
Answer: Concurrency. In iOS, a process or application consists of one or more threads. ... With GCD you add blocks of code or work items to dispatch queues and GCD decides which thread to execute them on. As you structure your code, you'll find code blocks that can run simultaneously and some that should not.