This HJSynchronize is a multi thread synchronization tool used on iOS
Check out this project. It contains a few demos of the API in use for various scenarios.
Usage
Asynchronous queue
[HJSynchronizeQueue execAsynBlock:^{
// to do
}];
Synchronization queue
[HJSynchronizeQueue execAsynBlock:^{
// to do
}];
For more information you can visit the web site
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the Get Started section for more details.
pod 'HJSynchronize', :git => 'https://github.com/panghaijiao/HJSynchronize.git'