{"id":2701,"url":"https://github.com/khawajafarooq/ProgressMeter","last_synced_at":"2025-08-03T00:32:27.584Z","repository":{"id":62451166,"uuid":"111656752","full_name":"khawajafarooq/ProgressMeter","owner":"khawajafarooq","description":"Measuring the progress with annotations 🔱","archived":false,"fork":false,"pushed_at":"2017-12-12T12:11:58.000Z","size":597,"stargazers_count":107,"open_issues_count":0,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-24T02:03:02.297Z","etag":null,"topics":["ios","progressbar","swift4","xcode"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/khawajafarooq.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":"2017-11-22T08:29:16.000Z","updated_at":"2024-05-28T23:29:27.000Z","dependencies_parsed_at":"2022-11-01T23:33:08.732Z","dependency_job_id":null,"html_url":"https://github.com/khawajafarooq/ProgressMeter","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khawajafarooq%2FProgressMeter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khawajafarooq%2FProgressMeter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khawajafarooq%2FProgressMeter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/khawajafarooq%2FProgressMeter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/khawajafarooq","download_url":"https://codeload.github.com/khawajafarooq/ProgressMeter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228510778,"owners_count":17931761,"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","progressbar","swift4","xcode"],"created_at":"2024-01-05T20:16:20.539Z","updated_at":"2024-12-06T18:30:42.361Z","avatar_url":"https://github.com/khawajafarooq.png","language":"Swift","readme":"\u003cp align=\"center\"\u003e\u003cimg src =\"screens/logo.png\" width=\"276px\" height=\"152px\"/\u003e\u003c/p\u003e\n\n[![CI Status](https://travis-ci.org/khawajafarooq/ProgressMeter.svg?style=svg)](https://travis-ci.org/khawajafarooq/ProgressMeter)\n[![Swift 4.0](https://img.shields.io/badge/swift-4.0-red.svg?style=flat)](https://developer.apple.com/swift)\n[![Version](https://img.shields.io/cocoapods/v/ProgressMeter.svg?style=flat)](http://cocoapods.org/pods/ProgressMeter)\n[![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)\n[![License](https://img.shields.io/cocoapods/l/ProgressMeter.svg?style=flat)](http://cocoapods.org/pods/ProgressMeter)\n[![Platform](https://img.shields.io/cocoapods/p/ProgressMeter.svg?style=flat)](http://cocoapods.org/pods/ProgressMeter)\n\n## Description\nDisplaying the progress in a meter control. `ProgressMeter` lets you create your custom annotations that display either on top or bottom of meter. So, it's not just an ordinary progress bar, it gives the better visual. 💯\n\n## Use Cases\n\n### Fitness App 🏃‍\nBuilding a pedometer has never been easier. If you are looking for something other than a gauge control, you have come to the right place. Have a look 🤓\n\u003cp align=\"center\"\u003e\u003cimg src =\"screens/steps_example.png\" width=\"300px\"/\u003e\u003c/p\u003e\n\n\n### Banking App 🏦\nTalking about financial apps. We all 've come across with such scenarios to show the rewards earned or a cash back. `ProgressMeter` is here to help with a unique user experience. 🏧\n\u003cp align=\"center\"\u003e\u003cimg src =\"screens/cash_example.png\" width=\"300px\"/\u003e\u003c/p\u003e\n\n## Example\n\n### Interface Builder\n\nGuess what? You can do that all in design time without writing a single line of code.\nDrag \u0026 drop a UIView from the object library and follow the steps:\n\n**Step 1:**\nSet the Class \u0026 Module **Identity Inspector \u003e Custom Class**\n\u003cp align=\"left\"\u003e\u003cimg src =\"screens/ib_step1.png\" width=\"300px\"/\u003e\u003c/p\u003e\n\n**Step 2:**\nUnder **Attribute Inspector** you can change the properties and check everything on the fly 🚀\n\n* maxValue: Maximum value of the meter\n* progress: Current progress of meter\n* numberOfDivisions: How many divisions you want to display\n* Rest are pretty much self explanatory\n\n\u003cp align=\"left\"\u003e\u003cimg src =\"screens/ib_step2.png\" width=\"300px\"/\u003e\u003c/p\u003e\n\n### Code 👨‍💻\n\nHook your view (ProgressMeter) property on your view controller and try out the snippets inside **viewDidLoad**;\n\n**Snippet # 1:** Looking for setting up the control with your own data 👨‍🏫\n\n```swift\nfunc setupWithCustomData() {\n    progressControl.maxValue = 20000\n    progressControl.data = [1999, 4999, 9999, 14999]\n    progressControl.progress = 14999 / 20000\n}\n```\n\n**Snippet # 2:** Don't have the data set? `ProgressMeter` can create its own data 🔢\n\n```swift\nfunc setupWithControlData() {\n    progressControl.maxValue = 20000\n    progressControl.numberOfDivisions = 4\n    progressControl.progress = 0.4\n}\n```\n\n**Snippet # 3:** Setup the visual aspect 💄\n```swift\nfunc visualSetup() {\n    progressControl.progressTintColor = .purple\n    progressControl.trackTintColor = .gray\n    progressControl.borderWidth = 1\n    progressControl.borderColor = .darkGray\n    progressControl.annotationTextColor = .purple\n    progressControl.dividerColor = .darkGray\n}\n```\n## Installation\n\n### CocoaPods\n`ProgressMeter` is available through [CocoaPods](http://cocoapods.org). To install\nit, simply add the following line to your Podfile:\n\n```ruby\npod 'ProgressMeter'\n```\n\n\n### Carthage\nTo integrate `ProgressMeter` into your Xcode project using Carthage, specify the following in your `Cartfile`:\n\n```ogdl\ngithub \"khawajafarooq/ProgressMeter\"\n```\n\nRun `carthage update` to build the framework and drag the built `ProgressMeter.framework` into your Xcode project.\n\n---\n\n## Requirements\n\n| Support | Version |\n| --- | --- |\n| iOS | 9.0 |\n| Swift | 4.0 |\n\n## Up Coming Features 🎏\n- [x] Carthage support\n- [x] Display Annotations either on top or bottom\n\n## Issues 🚫\n- [ ] Some tweakings required to use `ProgressMeter` inside a Stack View\n\n\n## Author 🙏🏻\n**Web**: [Khawaja Farooq](http://khawajafarooq.github.io)\n\n**Twitter**: [@khfarooq](https://twitter.com/khfarooq)\n\n**Medium**: [@khfarooq](https://medium.com/@khfarooq)\n\n\n## License\n\n`ProgressMeter` is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":["UI"],"sub_categories":["ProgressView","Other free courses"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhawajafarooq%2FProgressMeter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkhawajafarooq%2FProgressMeter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkhawajafarooq%2FProgressMeter/lists"}