{"id":13684747,"url":"https://github.com/lminhtm/LMGaugeView","last_synced_at":"2025-05-01T00:32:58.013Z","repository":{"id":56918824,"uuid":"40039603","full_name":"lminhtm/LMGaugeView","owner":"lminhtm","description":"LMGaugeView is a simple and customizable gauge control for iOS.","archived":false,"fork":false,"pushed_at":"2020-04-30T14:51:47.000Z","size":7099,"stargazers_count":234,"open_issues_count":3,"forks_count":30,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-04-24T03:23:12.358Z","etag":null,"topics":["core-animation","custom-controls","gauge","interface-builder","ios","layer","objective-c","speedometer"],"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/lminhtm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["lminhtm"],"custom":"https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=J3WZJT2AD28NW\u0026lc=VN\u0026item_name=LMGaugeView\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted"}},"created_at":"2015-08-01T07:50:00.000Z","updated_at":"2023-12-22T15:33:23.000Z","dependencies_parsed_at":"2022-08-20T21:50:30.221Z","dependency_job_id":null,"html_url":"https://github.com/lminhtm/LMGaugeView","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lminhtm%2FLMGaugeView","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lminhtm%2FLMGaugeView/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lminhtm%2FLMGaugeView/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lminhtm%2FLMGaugeView/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lminhtm","download_url":"https://codeload.github.com/lminhtm/LMGaugeView/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224230594,"owners_count":17277372,"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":["core-animation","custom-controls","gauge","interface-builder","ios","layer","objective-c","speedometer"],"created_at":"2024-08-02T14:00:38.207Z","updated_at":"2024-11-12T06:30:34.407Z","avatar_url":"https://github.com/lminhtm.png","language":"Objective-C","funding_links":["https://github.com/sponsors/lminhtm","https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=J3WZJT2AD28NW\u0026lc=VN\u0026item_name=LMGaugeView\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted"],"categories":["Objective-C"],"sub_categories":[],"readme":"LMGaugeView\n==============\nLMGaugeView is a simple and customizable gauge control for iOS inspired by [Flavor](https://dribbble.com/flavor) sketch on [Dribbble](https://dribbble.com/shots/1217274-Speedometer-Day-Night-Mode).\n\n\u003cimg src=\"https://raw.github.com/lminhtm/LMGaugeView/master/Screenshots/screenshot1.png\"/\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003cimg src=\"https://raw.github.com/lminhtm/LMGaugeView/master/Screenshots/screenshot3.gif\"/\u003e\n\n## Swift Version\nhttps://github.com/lminhtm/LMGaugeViewSwift\n\n## Features\n* Display a gauge, such as a speedometer or a loading indicator.\n* Using Core Graphics and Core Animation.\n* Allow for a large amount of customization.\n* Support Interface Builder Designable.\n\n## Requirements\n* iOS 8.0 or higher \n* ARC\n\n## Installation\n#### From CocoaPods\n```ruby\npod 'LMGaugeView'\n```\n#### Manually\n* Drag the `LMGaugeView` folder into your project.\n* Add `#import \"LMGaugeView.h\"` to the top of classes that will use it.\n\n## Usage\nYou can easily integrate the LMGaugeView with a few lines of code. For an example usage look at the code below.\n```ObjC\nLMGaugeView *gaugeView = [[LMGaugeView alloc] initWithFrame:frame];\ngaugeView.value = 40;\n[self.view addSubview:gaugeView];\n```\n\n## Customization\nYou can customize the following properties of LMGaugeView:\n```ObjC\n@property (nonatomic, assign) CGFloat minValue;\n@property (nonatomic, assign) CGFloat maxValue;\n@property (nonatomic, assign) CGFloat limitValue;\n@property (nonatomic, assign) NSUInteger numOfDivisions;\n@property (nonatomic, assign) NSUInteger numOfSubDivisions;\n@property (nonatomic, assign) CGFloat ringThickness;\n@property (nonatomic, strong) UIColor *ringBackgroundColor;\n@property (nonatomic, assign) CGFloat divisionsRadius;\n@property (nonatomic, strong) UIColor *divisionsColor;\n@property (nonatomic, assign) CGFloat divisionsPadding;\n@property (nonatomic, assign) CGFloat subDivisionsRadius;\n@property (nonatomic, strong) UIColor *subDivisionsColor;\n@property (nonatomic, assign) BOOL showLimitDot;\n@property (nonatomic, assign) CGFloat limitDotRadius;\n@property (nonatomic, strong) UIColor *limitDotColor;\n@property (nonatomic, strong) UIFont *valueFont;\n@property (nonatomic, strong) UIColor *valueTextColor;\n@property (nonatomic, assign) BOOL showUnitOfMeasurement;\n@property (nonatomic, copy)   NSString *unitOfMeasurement;\n@property (nonatomic, strong) UIFont *unitOfMeasurementFont;\n@property (nonatomic, strong) UIColor *unitOfMeasurementTextColor;\n```\n(See sample Xcode project in /LMGaugeViewDemo)\n\n## License\nLMGaugeView is licensed under the terms of the MIT License.\n\n## Contact\nMinh Luong Nguyen\n* https://github.com/lminhtm\n* lminhtm@gmail.com\n\n## Projects using LMGaugeView\nFeel free to add your project [here](https://github.com/lminhtm/LMGaugeView/wiki/Projects-using-LMGaugeView)\n\n## Android Version\nThanks Sorbh for making [KdGaugeView](https://github.com/Sorbh/kdgaugeView)\n\n## Donations\n[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations\u0026business=J3WZJT2AD28NW\u0026lc=VN\u0026item_name=LMGaugeView\u0026currency_code=USD\u0026bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flminhtm%2FLMGaugeView","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flminhtm%2FLMGaugeView","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flminhtm%2FLMGaugeView/lists"}