From the course: iOS Development: Threading and Grand Central Dispatch

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

What is Grand Central Dispatch?

What is Grand Central Dispatch?

From the course: iOS Development: Threading and Grand Central Dispatch

Start my 1-month free trial

What is Grand Central Dispatch?

- Grand Central Dispatch was created by Apple, and first introduced in Mac OS X 10.6 in 2009. Rather than create threads directly, applications need only to define specific tasks, and then let the system perform them. GCD shifts the responsibility for managing threads, and the execution from application to the operating system. This allows you to focus on the tasks you need to perform, rather than thread management. A technical brief on GCD states that the operation of placing an item in GCD is so lightweight that it requires only 15 instructions. This system-manage threads, help you as a developer gain a simpler and more efficient programming model, and your applications provide a smooth user experience. GCD is Apple's most popular and easy to use way of handling concurrency, and it offers many advantages over traditional threading, for instance, you don't need to write your own threads anymore. All you have to do is…

Contents