{"id":15037194,"url":"https://github.com/drenhart/mcgcdtimer","last_synced_at":"2026-03-11T03:04:13.468Z","repository":{"id":172770396,"uuid":"118420240","full_name":"drenhart/MCGCDTimer","owner":"drenhart","description":"GCD定时器的简单封装(GCD timer simple package)","archived":false,"fork":false,"pushed_at":"2018-01-23T07:11:03.000Z","size":11,"stargazers_count":10,"open_issues_count":0,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-09-08T12:53:37.937Z","etag":null,"topics":["gcdtimer","swift","swift3","swift4"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drenhart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-22T07:12:05.000Z","updated_at":"2021-08-18T10:23:11.000Z","dependencies_parsed_at":"2023-12-31T21:15:09.934Z","dependency_job_id":null,"html_url":"https://github.com/drenhart/MCGCDTimer","commit_stats":null,"previous_names":["drenhart/mcgcdtimer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/drenhart/MCGCDTimer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drenhart%2FMCGCDTimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drenhart%2FMCGCDTimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drenhart%2FMCGCDTimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drenhart%2FMCGCDTimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drenhart","download_url":"https://codeload.github.com/drenhart/MCGCDTimer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drenhart%2FMCGCDTimer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30368655,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T21:41:54.280Z","status":"online","status_checked_at":"2026-03-11T02:00:07.027Z","response_time":84,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["gcdtimer","swift","swift3","swift4"],"created_at":"2024-09-24T20:33:43.871Z","updated_at":"2026-03-11T03:04:13.450Z","avatar_url":"https://github.com/drenhart.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MCGCDTimer\nGCD定时器的简单封装\n\n采用Swift4语言编写,使用时直接将MCGCDTimer类拖到工程中就可以了.\n\n### 使用\n\n- 开始定时器\n\n        MCGCDTimer.shared.scheduledDispatchTimer(WithTimerName: \"GCDTimer\", timeInterval: 1, queue: .main, repeats: true) {\n            //需要执行的代码\n        }\n        \n- 取消定时器\n\n        MCGCDTimer.shared.cancleTimer(WithTimerName: \"GCDTimer\")\n\n- 检查定时器是否存在\n\n        MCGCDTimer.shared.isExistTimer(WithTimerName: \"GCDTimer\")\n \n \n# MCGCDTimer\nGCD timer simple package\n\nWritten using Swift4 language, when used directly drag class MCGCDTimer to your project.\n\n### Usage\n\n- Begin Timer\n\n        MCGCDTimer.shared.scheduledDispatchTimer(WithTimerName: \"GCDTimer\", timeInterval: 1, queue: .main, repeats: true) {\n            //code need to be execute\n        }\n        \n- Cancel Timer\n\n      MCGCDTimer.shared.cancleTimer(WithTimerName: \"GCDTimer\")\n      \n- Check if the timer exists\n\n      MCGCDTimer.shared.isExistTimer(WithTimerName: \"GCDTimer\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrenhart%2Fmcgcdtimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrenhart%2Fmcgcdtimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrenhart%2Fmcgcdtimer/lists"}