{"id":22421467,"url":"https://github.com/codeweaver13/hltimercenter","last_synced_at":"2025-03-27T05:17:32.310Z","repository":{"id":56913652,"uuid":"71088828","full_name":"CodeWeaver13/HLTimerCenter","owner":"CodeWeaver13","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-17T09:13:26.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-04T01:34:36.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CodeWeaver13.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-10-17T01:24:35.000Z","updated_at":"2017-02-24T15:18:57.000Z","dependencies_parsed_at":"2022-08-20T20:50:27.458Z","dependency_job_id":null,"html_url":"https://github.com/CodeWeaver13/HLTimerCenter","commit_stats":null,"previous_names":["qiankun-hanlin/hltimercenter","codeweaver13/hltimercenter"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWeaver13%2FHLTimerCenter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWeaver13%2FHLTimerCenter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWeaver13%2FHLTimerCenter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CodeWeaver13%2FHLTimerCenter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CodeWeaver13","download_url":"https://codeload.github.com/CodeWeaver13/HLTimerCenter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245785805,"owners_count":20671634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-05T17:07:15.621Z","updated_at":"2025-03-27T05:17:32.289Z","avatar_url":"https://github.com/CodeWeaver13.png","language":"Objective-C","readme":"# HLTimerCenter\n[![License MIT](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/wangshiyu13/HLQRCodeScanner/blob/master/LICENSE)\n[![CI Status](https://img.shields.io/badge/build-1.0.0-brightgreen.svg)](https://travis-ci.org/wangshiyu13/HLQRCodeScanner)\n[![CocoaPods](https://img.shields.io/badge/platform-iOS-lightgrey.svg)](http://cocoapods.org/?q= HLQRCodeScanner)\n[![Support](https://img.shields.io/badge/support-iOS%208%2B-blue.svg)](https://www.apple.com/nl/ios/)\n#### 基于GCD的定时管理器\n##特点\n1. 基于GCD实现的定时器，稳定好用\n2. 提供Center进行定时器统一管理\n3. 当APP进入后台时自动暂停所有定时器，APP恢复时统一唤醒\n\n====\n\n##使用方法\n\n1) 直接创建\n\n```objective-c\n[[HLTimerCenter defaultCenter] createTimer:1 afterTime:0 repeatsCount:5 repeats:NO autoPlay:YES handler:^{\n\tNSLog(@\"泡一下\");\n}];\n```\n\n2) 分步创建\n\n```objective-c\nHLTimer *timer = [[HLTimer alloc] initWithTime:1 andAfterTime:0 andRepeatsCount:5 isRepeats:NO completionHandler:^{\n        NSLog(@\"跑一下\");\n    }];\n    \n[[HLTimerCenter defaultCenter] addTimer:timer autoPlay:NO];\n```\n\n## 环境要求\n\n该库需运行在 iOS 8.0 和 Xcode 7.0以上环境.\n\n## 集成方法\n\nHLTimerCenter is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod \"HLTimerCenter\"\n```\n\n## 作者\n\nwangshiyu13, wangshiyu13@163.com\n\n## 开源协议\n\nHLNetworking is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeweaver13%2Fhltimercenter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeweaver13%2Fhltimercenter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeweaver13%2Fhltimercenter/lists"}