https://github.com/coderyi/yidispatchqueue
a more convenient tool for dispatch queue
https://github.com/coderyi/yidispatchqueue
dispatch gcd queue
Last synced: 7 months ago
JSON representation
a more convenient tool for dispatch queue
- Host: GitHub
- URL: https://github.com/coderyi/yidispatchqueue
- Owner: coderyi
- License: mit
- Created: 2019-09-15T08:44:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-21T06:52:19.000Z (about 6 years ago)
- Last Synced: 2025-05-22T08:49:04.712Z (8 months ago)
- Topics: dispatch, gcd, queue
- Language: Objective-C
- Homepage:
- Size: 31.3 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://cocoapods.org). To install
it, simply add the following line to your Podfile:
```ruby
pod 'YiDispatchQueue'
```
## Author
coderyi, coderyi@foxmail.com
## License
YiDispatchQueue is available under the MIT license. See the LICENSE file for more info.