coderyi / YiDispatchQueue

a more convenient tool for dispatch queue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YiDispatchQueue

a more convenient tool for dispatch queue

Usage

_queue = [[YiDispatchQueue alloc] init];
[_queue dispatch:^{
    NSLog(@"hello, this is test queue");
}];
    
[[YiDispatchQueue concurrentDefaultQueue] dispatch:^{
    NSLog(@"hello, this is test concurrent queue");
}];

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

YiDispatchQueue is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'YiDispatchQueue'

Author

coderyi, coderyi@foxmail.com

License

YiDispatchQueue is available under the MIT license. See the LICENSE file for more info.

About

a more convenient tool for dispatch queue

License:MIT License


Languages

Language:Objective-C 84.5%Language:Ruby 15.5%