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.

FacebookTwitterDiggStumbleUponGoogle Plus

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

©2013 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *