Latest 1.0.8
Homepage https://github.com/kevinkirkup/TRSDialScrollView
License MIT
Platforms ios 7.0, requires ARC
Authors

Version
Platform

This is a custom UIScrollView that I used for one of my apps.
It’s a customizable dial control for all your control displaying needs.
Includes customization through UIAppearance for all major properties.

Dial Example

TODO

  • Still need to add support for AutoLayout and it has all of the normal pitfalls when using UIScrollViews with AutoLayout.

Installation

To add TRSDialView to your project, add the following to your Podfile:

playform :ios

pod 'TRSDialScrollView', '>= 1.0'

Usage


- (void) viewDidLoad
{
  [super viewDidLoad];

  // Set the numeric range for the dial
  [self.dialView setDialRangeFrom:0 to:50];

  // Set the default value
  self.dialView.currentValue = 20;
}

- (void)someOtherMethod
{
  NSInteger value = self.dialView.currentValue;
}

Credits

Kevin Kirkup(@pan_and_scan)

License

TRSDialScrollView is distributed under the MIT License.

Latest podspec

{
    "name": "TRSDialScrollView",
    "version": "1.0.8",
    "summary": "TRSDialScrollView is a customizable UIScrollView for use as a dial control.",
    "homepage": "https://github.com/kevinkirkup/TRSDialScrollView",
    "screenshots": "https://github.com/kevinkirkup/TRSDialScrollView/raw/master/images/TRSDialScrollView.png",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Kevin S Kirkup": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kevinkirkup/TRSDialScrollView.git",
        "tag": "1.0.8"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source_files": "TRSDialScrollView/**/*.{h,m}",
    "public_header_files": "TRSDialScrollView/TRSDialScrollView.h",
    "requires_arc": true
}

Pin It on Pinterest

Share This