Latest 0.2.0
Homepage https://github.com/hermanliang/HLSignalView
License MIT
Platforms ios 8.0
Authors

CI Status
Version
License
Platform

Example

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

Requirements

Installation

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

pod "HLSignalView"

Xcode 8

Add following at the bottom of your Podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '2.3' # or '3.0'
    end
  end
end

Usage

Storyboard

  1. Add an UIView onto any view controller of storyboard
  2. Edit Identity Inspector: Custom Class
    • Class: HLSignalView
    • Module: HLSignalView
  3. Edit Attributes Inspector:
    • Intensity: initial signal intensity (0 – 5)
    • Color Inactive: initial inactive color
    • Color Active: initial active color

Swift File

import HLSignalView

HLSignalView Attributes

  • intensity: signal intensity (0 – 5)
  • colorInactive: inactive color of the signal view
  • colorActive: active color of the signal view

Author

Herman Liang, [email protected]

License

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

Latest podspec

{
    "name": "HLSignalView",
    "version": "0.2.0",
    "summary": "Simple Signal View",
    "description": "Simple signal viewnUsage: Bluetooth signal, Wi-Fi signal",
    "homepage": "https://github.com/hermanliang/HLSignalView",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Herman Liang": "[email protected]"
    },
    "source": {
        "git": "https://github.com/hermanliang/HLSignalView.git",
        "tag": "0.2.0"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "HLSignalView/Classes/**/*"
}

Pin It on Pinterest

Share This