Latest 1.0.3
Homepage https://github.com/Sdfeidong/ZJDTimer
License MIT
Platforms ios 7.0, requires ARC
Authors

一个简单实用的计时器

支持pod导入

pod ‘ZJDTimer’,’~> 1.0.3′

简单使用

  // 创建实例开始计时
_timer = [ZJDTimer shared];
[_timer startCount];

// 通知接收时间变化的消息
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(countTimeNoti:) name:NNC_CountTimeNotification object:nil];

   // 通知

  • (void)countTimeNoti:(NSNotification *)noti {
           // 在这根据自己的需求去刷新UI…
    }

详细使用请见ZJDTimerDemo

Latest podspec

{
    "name": "ZJDTimer",
    "version": "1.0.3",
    "description": "u7b80u5355u5b9eu7528u7684u8ba1u65f6u5668",
    "platforms": {
        "ios": "7.0"
    },
    "summary": "u8ba1u65f6u5668",
    "homepage": "https://github.com/Sdfeidong/ZJDTimer",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Sdfeidong": "[email protected]"
    },
    "source": {
        "git": "https://github.com/Sdfeidong/ZJDTimer.git",
        "tag": "1.0.3"
    },
    "source_files": "ZJDTimer/**/*.{h,m}",
    "requires_arc": true
}

Pin It on Pinterest

Share This