Latest 1.0.5
Homepage https://github.com/RockefellerZQ/CountDownView
License MIT
Platforms ios 6.0, requires ARC
Authors ,

一个简单的iOS倒计时控件

Demo Image

初始化

将ZQCountDownView添加到你的项目工程,然后可以通过代码或者xib的形式进行初始化

_recoderTimeIntervalDidInBackground = YES

_recoderTimeIntervalDidInBackground等于YES的时候,应用程序进入后台会记录当前剩余的倒计时和进入后台的时间,当应用程序再次进入前台时倒计时会减掉中间的时间差。(程序进入后台一段时间后,定时器会暂停计时)

pod 安装

pod ‘ZQCountDownView’, ‘~> 0.0.1’

Latest podspec

{
    "name": "ZQCountDownView",
    "version": "1.0.5",
    "summary": "u5012u8ba1u65f6u63a7u4ef6",
    "description": "##u4e00u4e2au7b80u5355u7684iOSu5012u8ba1u65f6u63a7u4ef6nn####u521du59cbu5316nu5c06ZQCountDownViewu6dfbu52a0u5230u4f60u7684u9879u76eeu5de5u7a0buff0cu7136u540eu53efu4ee5u901au8fc7u4ee3u7801u6216u8005xibu7684u5f62u5f0fu8fdbu884cu521du59cbu5316nn````n_recoderTimeIntervalDidInBackground = YESn````nn_recoderTimeIntervalDidInBackgroundu7b49u4e8eYESu7684u65f6u5019uff0cu5e94u7528u7a0bu5e8fu8fdbu5165u540eu53f0u4f1au8bb0u5f55u5f53u524du5269u4f59u7684u5012u8ba1u65f6u548cu8fdbu5165u540eu53f0u7684u65f6u95f4uff0cu5f53u5e94u7528u7a0bu5e8fu518du6b21u8fdbu5165u524du53f0u65f6u5012u8ba1u65f6u4f1au51cfu6389u4e2du95f4u7684u65f6u95f4u5deeu3002uff08u7a0bu5e8fu8fdbu5165u540eu53f0u4e00u6bb5u65f6u95f4u540euff0cu5b9au65f6u5668u4f1au6682u505cu8ba1u65f6uff09",
    "homepage": "https://github.com/RockefellerZQ/CountDownView",
    "screenshots": "https://raw.githubusercontent.com/RockefellerZQ/CountDownView/master/Image/Demo.png",
    "license": {
        "type": "MIT",
        "file": "./LICENSE"
    },
    "authors": {
        "name": "rockefeller",
        "email": "[email protected]"
    },
    "platforms": {
        "ios": "6.0"
    },
    "source": {
        "git": "https://github.com/RockefellerZQ/CountDownView.git",
        "tag": "1.0.5"
    },
    "source_files": [
        "Classes",
        "CountDownView/**/*.{h,m}"
    ],
    "exclude_files": "Classes/Exclude",
    "requires_arc": true
}

Pin It on Pinterest

Share This