Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TrianglZ/TZSignalBarStrength
An easy to use UI component to help display a signal bar with an added customizable fill animation
https://github.com/TrianglZ/TZSignalBarStrength
Last synced: 27 days ago
JSON representation
An easy to use UI component to help display a signal bar with an added customizable fill animation
- Host: GitHub
- URL: https://github.com/TrianglZ/TZSignalBarStrength
- Owner: TrianglZ
- License: mit
- Created: 2021-04-13T11:58:16.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-03T08:45:50.000Z (over 3 years ago)
- Last Synced: 2024-10-21T00:04:03.252Z (about 2 months ago)
- Language: Swift
- Size: 428 KB
- Stars: 22
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-swift - TZSignalBarStrength - An easy to use UI component to help display a signal bar with an added customizable fill animation ` 📝 2 months ago ` (UI [🔝](#readme))
README
# TZSignalStrengthView for iOS
[![License](https://img.shields.io/badge/license-MIT-lightgrey)]()
[![Platform](https://img.shields.io/badge/platform-iOS-lightgrey)]()
[![Platform](https://img.shields.io/badge/pod-v1.0.0-blue)]()## Introduction
`TZSignalStrengthView` is an easy to use UI component to help display a signal bar with an added customizable fill animation providing the following features:
* Easy customization using the interface builder.
* Support for different colors to different strengths (high, medium, and low).
* Customized duration of the animation.
* The number of bars is corresponding to the specified strength.
* The ability to add borders with custom widths'.
* The ability to change the spacing of the bars.## Usage
1) Add a new `UIView` and set it's class to `TZSignalBarView` and its module to `TZSignalBarStrength`.
2) Set width and height constraints to `TZSignalBarView`.
3) Set the custom features as preferred.
4) Animation sample:
https://user-images.githubusercontent.com/22980568/114559423-fde4dc00-9c6b-11eb-98dc-ba510e3e5af4.mp4
5) Check out the `Demo app` for more examples.## Installation
### Manual setup
Directly copy `TZSignalBarStrength` to your project.### Cocoa pods
Add the pod to your pod file:
```ruby
pod 'TZSignalBarStrength'
```And then run:
```ruby
pod install
```## Roadmap:
- [x] Add a cocoapods version.
- [ ] Add a swift package manager version.
- [ ] Add a SwiftUI version.
- [ ] Support custom number of signal bars.
- [ ] Support custom values for different strengths.
- [ ] Add fading animation.
- [ ] Add interaction methods.
- [ ] Support interactive signal customization. (Change signal strength during run-time)## License
`TZSignalStrengthView` is available under the MIT license.
## Data collection
`TZSignalStrengthView` does not collect any data.