{"id":13637823,"url":"https://github.com/edgar-zigis/GaugeSlider","last_synced_at":"2025-04-19T17:31:52.932Z","repository":{"id":56912615,"uuid":"204069048","full_name":"edgar-zigis/GaugeSlider","owner":"edgar-zigis","description":"Highly customizable GaugeSlider designed for a Smart Home app. Featured at Medium.","archived":false,"fork":false,"pushed_at":"2022-03-07T16:12:41.000Z","size":10843,"stargazers_count":133,"open_issues_count":0,"forks_count":9,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-03T01:03:21.960Z","etag":null,"topics":["gauge","home","ios","material","slider","smart","swift"],"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/edgar-zigis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"edgar-zigis","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2019-08-23T20:58:03.000Z","updated_at":"2024-08-26T08:44:13.000Z","dependencies_parsed_at":"2022-08-20T20:10:05.838Z","dependency_job_id":null,"html_url":"https://github.com/edgar-zigis/GaugeSlider","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FGaugeSlider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FGaugeSlider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FGaugeSlider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edgar-zigis%2FGaugeSlider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edgar-zigis","download_url":"https://codeload.github.com/edgar-zigis/GaugeSlider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223804955,"owners_count":17205829,"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":["gauge","home","ios","material","slider","smart","swift"],"created_at":"2024-08-02T01:00:34.491Z","updated_at":"2024-11-09T08:30:21.854Z","avatar_url":"https://github.com/edgar-zigis.png","language":"Swift","funding_links":["https://github.com/sponsors/edgar-zigis"],"categories":["Content"],"sub_categories":["Slider"],"readme":"# GaugeSlider\n\nHighly customizable GaugeSlider primarily designed for a Smart Home app.\n##### Minimum iOS version 11.0\n\n![alt text](https://github.com/edgar-zigis/GaugeSlider/blob/master/sample.gif?raw=true)\n\n### Carthage\n\n```\ngithub \"edgar-zigis/GaugeSlider\" ~\u003e 1.2.1\n```\n### Cocoapods\n\n```\npod 'GaugeSlider', '~\u003e 1.2.1'\n```\n### Swift Package Manager\n\n```\ndependencies: [\n    .package(url: \"https://github.com/edgar-zigis/GaugeSlider.git\", .upToNextMajor(from: \"1.2.1\"))\n]\n```\n### Usage\n``` swift\nlet v = GaugeSliderView()\nv.blankPathColor = UIColor(red: 218/255, green: 218/255, blue: 218/255, alpha: 1) //  -\u003e inactive track color\nv.fillPathColor = UIColor(red: 74/255, green: 196/255, blue: 192/255, alpha: 1) //  -\u003e filled track color\nv.indicatorColor = UIColor(red: 94/255, green: 187/255, blue: 169/255, alpha: 1)\nv.unitColor = UIColor(red: 74/255, green: 74/255, blue: 74/255, alpha: 1)\nv.placeholderColor = UIColor(red: 139/255, green: 154/255, blue: 158/255, alpha: 1)\nv.unitIndicatorColor = UIColor(red: 74/255, green: 74/255, blue: 74/255, alpha: 0.2)\nv.customControlColor = UIColor(red: 47/255, green: 190/255, blue: 169/255, alpha: 1)\nv.unitFont = UIFont.systemFont(ofSize: 67)\nv.placeholderFont = UIFont.systemFont(ofSize: 17, weight: .medium)\nv.unitIndicatorFont = UIFont.systemFont(ofSize: 16, weight: .medium)\nv.customControlButtonTitle = \"• Auto\"\nv.isCustomControlActive = false\nv.customControlButtonVisible = true\nv.placeholder = \"Warming\"\nv.unit = \"°\"  //  -\u003e change default unit from temperature to anything you like\nv.progress = 80 //  -\u003e 0..100 a way to say percentage\nv.value = 10\nv.minValue = 5\nv.maxValue = 25\nv.countingMethod = GaugeSliderCountingMethod.easeInOut // -\u003e sliding animation style\nv.delegationMode = .singular //  -\u003e or .immediate(interval: Int)\nv.leftIcon = UIImage(named: \"snowIcon\")\nv.rightIcon = UIImage(named: \"sunIcon\")\n```\n### Remarks\nIt can be used both programmatically and with story boards. Samples are available at **Tests/GaugeSliderTests**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgar-zigis%2FGaugeSlider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedgar-zigis%2FGaugeSlider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedgar-zigis%2FGaugeSlider/lists"}