Get Updates By E-mail 

Article Written By:
Johann Dowa

Handy Helper Library That Makes Working With Grand Central Dispatch (GCD) Easier

  •  
  •  
  •  
  •  
  •  

Since its addition in iOS 5.0 I’ve mentioned a few resources for utilizing GCD most popularly this tutorial showing how to use GCD for easy asynchronous UITableView cells and a thread safe timer class that works with GCD queues.

Here’s a library called GCDObjC from Mark Smith that provides a ton of help when working with grand central dispatch.

Specifically GCDObjC adds a queue class for easier queue management, a semaphore class for implementing semaphores, a grouping class and macros wrapping dispatch once calls.

As the readme states GCDObjC does the following:

– Organize the flat C API into appropriate classes.
– Use intention-revealing names to distinguish between synchronous and asynchronous functions.
– Use more convenient arguments such as NSTimeIntervals.
– Add convenience methods.

You can find GCDObjC on Github here.

A very nice library for simplifying GCD usage.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments