Home > DeveloperSection > Interviews > Describe GCD in Objective-C

Posted on    November-08-2015 11:16 PM

 iPhone iPhone  Ios  Objective C 
 1 Answer(s)
  362  View(s)
Rate this:

Tarun Kumar

Total Post:107

Posted on    November-09-2015 12:16 AM

"Grand Central Dispatch" is not just a new abstraction around what we have already been using, it is an entire new underlying mechanism that makes multithreading easier and makes it easy to be as concurrent as your code can be without worrying about the variables like how much work your CPU cores are doing, how many CPU cores you have and how much threads you should spawn in response.

You just use the Grand Central Dispatch API’s and it handles the work of doing the appropriate amount of work. This is also not just in Cocoa, anything running on Mac OS X 10.6 Snow Leopard can take advantage of Grand Central Dispatch ( libdispatch ) because it’s included in libSystem.dylib and all you need to do is include #import <dispatch/dispatch.h> in your app and you’ll be able to take advantage of Grand Central Dispatch.

Don't want to miss updates? Please click the below button!

Follow MindStick