{"id":23900692,"url":"https://github.com/pcjbird/quickrulersuite","last_synced_at":"2026-03-16T22:31:19.731Z","repository":{"id":62451724,"uuid":"139212125","full_name":"pcjbird/QuickRulerSuite","owner":"pcjbird","description":"A suite to quick create ruler control on iOS, which seems to be attractive. iOS上标尺控件的集合。","archived":false,"fork":false,"pushed_at":"2018-09-18T14:55:17.000Z","size":336,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T18:45:12.157Z","etag":null,"topics":["ios","ruler","sports","sports-app","suite"],"latest_commit_sha":null,"homepage":"","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/pcjbird.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":"2018-06-30T02:12:43.000Z","updated_at":"2023-03-06T15:48:30.000Z","dependencies_parsed_at":"2022-11-01T22:46:08.695Z","dependency_job_id":null,"html_url":"https://github.com/pcjbird/QuickRulerSuite","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickRulerSuite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickRulerSuite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickRulerSuite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pcjbird%2FQuickRulerSuite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pcjbird","download_url":"https://codeload.github.com/pcjbird/QuickRulerSuite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248298026,"owners_count":21080313,"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":["ios","ruler","sports","sports-app","suite"],"created_at":"2025-01-04T20:36:35.874Z","updated_at":"2026-03-16T22:31:19.702Z","avatar_url":"https://github.com/pcjbird.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](logo.png)\n[![Build Status](http://img.shields.io/travis/pcjbird/QuickRulerSuite/master.svg?style=flat)](https://travis-ci.org/pcjbird/QuickRulerSuite)\n[![Pod Version](http://img.shields.io/cocoapods/v/QuickRulerSuite.svg?style=flat)](http://cocoadocs.org/docsets/QuickRulerSuite/)\n[![Pod Platform](http://img.shields.io/cocoapods/p/QuickRulerSuite.svg?style=flat)](http://cocoadocs.org/docsets/QuickRulerSuite/)\n[![Pod License](http://img.shields.io/cocoapods/l/QuickRulerSuite.svg?style=flat)](https://www.apache.org/licenses/LICENSE-2.0.html)\n[![CocoaPods](https://img.shields.io/cocoapods/at/QuickRulerSuite.svg)](https://github.com/pcjbird/QuickRulerSuite)\n[![CocoaPods](https://img.shields.io/cocoapods/dt/QuickRulerSuite.svg)](https://github.com/pcjbird/QuickRulerSuite)\n[![GitHub release](https://img.shields.io/github/release/pcjbird/QuickRulerSuite.svg)](https://github.com/pcjbird/QuickRulerSuite/releases)\n[![GitHub release](https://img.shields.io/github/release-date/pcjbird/QuickRulerSuite.svg)](https://github.com/pcjbird/QuickRulerSuite/releases)\n[![Website](https://img.shields.io/website-pcjbird-down-green-red/https/shields.io.svg?label=author)](https://pcjbird.github.io)\n\n# QuickRulerSuite\n### A suite to quick create ruler control on iOS, which seems to be attractive. iOS上标尺控件的集合。\n\n## 特性 / Features\n\n1. 快速创建一个标尺控件。\n2. 支持设置最小最大刻度，支持设置最小最大限制值，支持自定义标尺样式。\n\n## 演示 / Demo\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"demo.gif\" title=\"demo\"\u003e\u003c/p\u003e\n\n##  安装 / Installation\n\n方法一：`QuickRulerSuite` is available through CocoaPods. To install it, simply add the following line to your Podfile:\n\n```\npod 'QuickRulerSuite'\n```\n\n## 使用 / Usage\n  \n```\n@property (weak, nonatomic) IBOutlet QuickSportsRuler *ruler;\n```\n  \n```\nself.ruler.delegate = self;\nself.ruler.rulerStyle.unitValue = 1000;\nself.ruler.rulerStyle.minTickValue = -1000;\nself.ruler.rulerStyle.maxTickValue = 30000;\nself.ruler.rulerStyle.minLimitValue = 2000;\nself.ruler.rulerStyle.maxLimitValue = 28000;\nself.ruler.rulerStyle.stepSpacing = 16.0f;\nself.ruler.rulerStyle.initValue = 8000;\n[self.ruler setNeedsReloadStyle];\n```\n     \n```\n-(void)quickSportsRulerDidScroll:(QuickSportsRuler *)ruler resolvedValue:(NSString *)value\n{\n   self.valLabel.text = value;\n}\n``` \n  \n  \n## 关注我们 / Follow us\n  \n\u003ca href=\"https://itunes.apple.com/cn/app/iclock-一款满足-挑剔-的翻页时钟与任务闹钟/id1128196970?pt=117947806\u0026ct=com.github.pcjbird.QuickRulerSuite\u0026mt=8\"\u003e\u003cimg src=\"https://github.com/pcjbird/AssetsExtractor/raw/master/iClock.gif\" width=\"400\" title=\"iClock - 一款满足“挑剔”的翻页时钟与任务闹钟\"\u003e\u003c/a\u003e\n\n[![Twitter URL](https://img.shields.io/twitter/url/http/shields.io.svg?style=social)](https://twitter.com/intent/tweet?text=https://github.com/pcjbird/QuickRulerSuite)\n[![Twitter Follow](https://img.shields.io/twitter/follow/pcjbird.svg?style=social)](https://twitter.com/pcjbird)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcjbird%2Fquickrulersuite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpcjbird%2Fquickrulersuite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpcjbird%2Fquickrulersuite/lists"}