YiDispatchQueue 0.1.0

YiDispatchQueue 0.1.0

coderyi 保持。



  • coderyi

YiDispatchQueue

一个更方便使用 dispatch queue 的工具

用法

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

示例

要运行示例项目,请克隆仓库,然后在 Example 目录下首先运行 pod install

安装

YiDispatchQueue 可通过 CocoaPods 获取。安装它,只需将以下行添加到您的 Podfile 即可。

pod 'YiDispatchQueue'

作者

coderyi,[email protected]

许可证

YiDispatchQueue 在 MIT 许可下可用。有关更多信息,请参阅 LICENSE 文件。