{"id":18839733,"url":"https://github.com/maximbilan/signalstrengthindicator","last_synced_at":"2025-04-14T06:55:27.971Z","repository":{"id":50963683,"uuid":"118424000","full_name":"maximbilan/SignalStrengthIndicator","owner":"maximbilan","description":"Signal Strength Indicator","archived":false,"fork":false,"pushed_at":"2021-05-26T19:03:53.000Z","size":107,"stargazers_count":11,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T06:55:07.394Z","etag":null,"topics":["connection","indicator","ios","network","signal","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/maximbilan.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-01-22T07:49:30.000Z","updated_at":"2023-07-12T17:19:11.000Z","dependencies_parsed_at":"2022-09-06T04:21:02.598Z","dependency_job_id":null,"html_url":"https://github.com/maximbilan/SignalStrengthIndicator","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FSignalStrengthIndicator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FSignalStrengthIndicator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FSignalStrengthIndicator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maximbilan%2FSignalStrengthIndicator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maximbilan","download_url":"https://codeload.github.com/maximbilan/SignalStrengthIndicator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248837281,"owners_count":21169374,"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":["connection","indicator","ios","network","signal","swift"],"created_at":"2024-11-08T02:43:54.809Z","updated_at":"2025-04-14T06:55:27.945Z","avatar_url":"https://github.com/maximbilan.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Signal Strength Indicator\n\n[![Version](https://img.shields.io/cocoapods/v/SignalStrengthIndicator.svg?style=flat)](http://cocoadocs.org/docsets/SignalStrengthIndicator)\n[![License](https://img.shields.io/cocoapods/l/SignalStrengthIndicator.svg?style=flat)](http://cocoadocs.org/docsets/SignalStrengthIndicator)\n[![Platform](https://img.shields.io/cocoapods/p/SignalStrengthIndicator.svg?style=flat)](http://cocoadocs.org/docsets/SignalStrengthIndicator)\n[![CocoaPods](https://img.shields.io/cocoapods/dt/SignalStrengthIndicator.svg)](https://cocoapods.org/pods/SignalStrengthIndicator)\n[![CocoaPods](https://img.shields.io/cocoapods/dm/SignalStrengthIndicator.svg)](https://cocoapods.org/pods/SignalStrengthIndicator)\n\n## Preview\n\n\u003cimg src=\"https://raw.github.com/maximbilan/SignalStrengthIndicator/master/test.gif\" alt=\"preview text\" width=\"100\" height=\"60\"\u003e\n\n## Description\n\nIt's just a UI component, shows an indicator of the connectivity, like a standard iOS cellular indicator. The control has simple customization: color, edges, spacing.\n\n## Installation\n\n\u003cb\u003eCocoaPods:\u003c/b\u003e\n\u003cpre\u003e\npod 'SignalStrengthIndicator'\n\u003c/pre\u003e\n\n\u003cb\u003eManual:\u003c/b\u003e\n\u003cpre\u003e\nCopy \u003ci\u003eSignalStrengthIndicator.swift\u003c/i\u003e to your project.\n\u003c/pre\u003e\n\n## Usage\n\nThere is an example in the repository. The example shows how to add the control via \u003ci\u003estoryboard\u003c/i\u003e (Interface Builder). Also, I can easily add via code.\n  \n\u003cpre\u003e\nlet indicator = SignalStrengthIndicator()\n\n// Set up frame\n\nview.addSubview(indicator)\n\u003c/pre\u003e\n\nFor controling the level of the indicator you need to use the following property:\n\n\u003cpre\u003e\nindicator.level = .good\n\u003c/pre\u003e\n\nThere is 6 cases of indication:\n\n\u003cpre\u003e\nenum Level: Int {\n  case noSignal\n  case veryLow\n  case low\n  case good\n  case veryGood\n  case excellent\n}\n\u003c/pre\u003e\n\n## Customization\n\nColor:\n\u003cpre\u003e\nindicator.color = UIColor.gray\n\u003c/pre\u003e\n\nSpacing between bars:\n\u003cpre\u003e\nindicator.spacing = 5\n\u003c/pre\u003e\n\nMargins:\n\u003cpre\u003e\nindicator.edgeInsets = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)\n\u003c/pre\u003e\n\n## License\n\n\u003ci\u003eSignalStrengthIndicator\u003c/i\u003e is available under the MIT license. See the LICENSE file for more info.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximbilan%2Fsignalstrengthindicator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaximbilan%2Fsignalstrengthindicator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaximbilan%2Fsignalstrengthindicator/lists"}