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.
- Tutorial: iOS Multithreading With Grand Central Dispatch (GCD) Basics
- Tutorial: Easy Asynchronus UITableViewCell’s With Blocks And GCD
- Open Source iOS Objective-C Categories For Fast, Easy, Clean, Threaded Disk I/O
- Excellent Video Presentation For Understanding GCD
- Open Source: Easy To Use ARC Compatible iOS Reachability Class That Uses GCD And Blocks
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.