Latest 0.1.1
Homepage https://github.com/silence0201/GCDWrap
License MIT
Platforms ios 7.0, requires ARC
Authors

Language
License

GCDWrap:一个基于Objective-C语言GCD的简单封装

导入

将项目中GCDWrap文件夹拖到项目里

或者使用Pod安装

pod 'GCDWrap', '~> 0.1.0'   

使用

  1. 导入头文件

    #import "GCDWrap.h"
  2. 根据对应信息,使用相应的类,对应关系如下

    SIQueue —> 队列
    SIGroup —> 队列组
    SIMacro —> 宏
    SISemaphore —> 信号量
    SITimer —> 定时器

使用

查看文件GCDWrapTest

GCDWrap

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

Latest podspec

{
    "name": "GCDWrap",
    "version": "0.1.1",
    "summary": "GCDWrap With Objective-C",
    "description": "A wrapper of Grand Central Dispatch written in Objective-C",
    "homepage": "https://github.com/silence0201/GCDWrap",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Silence": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/silence0201/GCDWrap.git",
        "tag": "0.1.1"
    },
    "source_files": [
        "GCDWrap",
        "GCDWrap/**/*.{h,m}"
    ],
    "exclude_files": "GCDWrap/Exclude",
    "requires_arc": true
}

Pin It on Pinterest

Share This