https://github.com/silence0201/gcdwrap
GCDWrap
https://github.com/silence0201/gcdwrap
gcd
Last synced: 6 months ago
JSON representation
GCDWrap
- Host: GitHub
- URL: https://github.com/silence0201/gcdwrap
- Owner: silence0201
- License: mit
- Created: 2017-02-26T11:41:39.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-15T15:10:23.000Z (over 8 years ago)
- Last Synced: 2025-04-15T21:41:08.390Z (9 months ago)
- Topics: gcd
- Language: Objective-C
- Size: 129 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GCDWrap


GCDWrap:一个基于`Objective-C`语言`GCD`的简单封装
### 导入
将项目中`GCDWrap`文件夹拖到项目里
或者使用`Pod`安装
pod 'GCDWrap', '~> 0.1.0'
### 使用
1. 导入头文件
```objective-c
#import "GCDWrap.h"
```
2. 根据对应信息,使用相应的类,对应关系如下
`SIQueue` ---> 队列
`SIGroup` ---> 队列组
`SIMacro` ---> 宏
`SISemaphore` ---> 信号量
`SITimer` ---> 定时器
### 使用
查看文件[GCDWrapTest](GCDWrapTest/GCDWrapTest.m)
## GCDWrap
GCDWrap is available under the MIT license. See the LICENSE file for more info.