a more convenient tool for dispatch queue
_queue = [[YiDispatchQueue alloc] init];
[_queue dispatch:^{
NSLog(@"hello, this is test queue");
}];
[[YiDispatchQueue concurrentDefaultQueue] dispatch:^{
NSLog(@"hello, this is test concurrent queue");
}];
To run the example project, clone the repo, and run pod install
from the Example directory first.
YiDispatchQueue is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod 'YiDispatchQueue'
coderyi, coderyi@foxmail.com
YiDispatchQueue is available under the MIT license. See the LICENSE file for more info.