Latest 1.0.2
Homepage https://github.com/tannernelson/signal-strength
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit
Authors

[![CI Status](http://img.shields.io/travis/Tanner Nelson/SignalStrength.svg?style=flat)](https://travis-ci.org/Tanner Nelson/SignalStrength)
Version
License
Platform

Preview

alt tag

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

SignalStrength is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "SignalStrength"

Usage

Add a view to your Storyboard and set the class to SignalStrengthView. The view is @IBDesignable so you should immediately see the signal strength indicators and intrinsic sizing.

Add an outlet from the SignalStrengthView to your ViewController to modify the SignalStrengthView‘s signal and flipped properties.

Signal

This enum property changes how many dots are filled in on the view. Use the example application provided in the CocoaPod to view how different SignalStrength values affect the view.

enum SignalStrength {
    case Excellent
    case VeryGood
    case Good
    case Low
    case VeryLow
    case NoSignal
    case Unknown

}

Color

This UIColor property changes the background color of the dots. This is great for inverting the color of the SignalStrengthView if it is in a selected UITableViewCell.

Flipped

This Bool property changes from which side the dots will begin to fill in or empty. Setting flipped to true for right aligned views is recommended.

Customization

sizing and spacing constants can be modified at compile time in the SignalStrengthDotView class.

Author

Tanner Nelson, [email protected]

License

SignalStrength is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "SignalStrength",
    "version": "1.0.2",
    "summary": "iOS 7 inspirsed signal strength view.",
    "description": "Display signal strength in your app using this iOS 7 inspired view. This is great for showing the RSSI of beacons, nearby bluetooth objects, or other devices.",
    "homepage": "https://github.com/tannernelson/signal-strength",
    "screenshots": "https://cloud.githubusercontent.com/assets/1342803/12491628/208d872e-c04a-11e5-8ca4-b5e7266aee05.gif",
    "license": "MIT",
    "authors": {
        "Tanner Nelson": "[email protected]"
    },
    "source": {
        "git": "https://github.com/tannernelson/signal-strength.git",
        "tag": "1.0.2"
    },
    "social_media_url": "https://twitter.com/the_teet",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "SignalStrength": [
            "Pod/Assets/*.png"
        ]
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This