Latest 0.0.7
License MIT
Platforms ios 7.0, requires ARC
Frameworks UIKit

A custom UIView with a gauge control (tachometer like control).
Detects swipe gesture and sets the needle/level appropriately.
You can customize colors, the maximum level, min/max images, etc.

Alt text


Installing with CocoaPods

If you’re unfamiliar with CocoaPods you can check out this tutorial here.

  1. In Terminal navigate to the root of your project.
  2. Run ‘touch Podfile’ to create the Podfile.
  3. Open the Podfile using ‘open -e Podfile’
  4. Add the pod SFGaugeView to your Podfile.

    platform :ios, '7.0'
    pod 'SFGaugeView'
  5. Run pod install.
  6. Open your app’s .xcworkspace file to launch Xcode and start using the control!


  1. Either create SFGaugeView by dragging UIView from storyboard and change implementing class or create it programmatically
  2. Create an outlet (if create via storyboard)
  3. Set up parameters

    maxlevel = The maximum level of gauge control (unsigned int value)
    minlevel = The minimum level of gauge control (unsigned int value)
    needleColor = Color of needle
    bgColor = Background Color of gauge control
    hideLevel = If set to YES the current level is hidden
    minImage = An image for min level (see screenshot)
    maxImage = An image for max level (see screenshot)
    currentLevel = Sets the current Level
    autoAdjustImageColors = Overlays the images with needleColor (default: NO)
  4. GaugeControl interaction
    currentLevel = Returns the current level

Delegate Method

    - (void) sfGaugeView:(SFGaugeView*) gaugeView didChangeLevel:(NSInteger) level;


Simpliflow GmbH

Thomas Winkler


Distributed under the MIT License.

Latest podspec

    "name": "SFGaugeView",
    "version": "0.0.7",
    "summary": "Provides a gauge control for ios",
    "platforms": {
        "ios": "7.0"
    "license": "MIT",
    "authors": "Thomas Winkler",
    "homepage": "",
    "source_files": "SFGaugeView/*.{h,m}",
    "source": {
        "git": "",
        "tag": "v0.0.7"
    "frameworks": "UIKit",
    "requires_arc": true

Pin It on Pinterest

Share This