Latest 0.1.1
Homepage https://github.com/kwabford/KoiWheel
License MIT
Platforms ios 12.0
Authors

CI Status
Version
License
Platform

A customizable subclass of UIControl which allows you to create a Jog Wheel, Turntable or Knob.

Preview

preview

Updating the Wheel’s Tint Color based on its value.

image

Custom Wheel image, Custom Overlay Image and an Angular Resistance set to 0.0.

Usage

Drag and drop an UIView object into your view controller and set its class and module to KoiWheel.

Supported Properties

Properties Description Default value
Value The Value of the Wheel. The number of revolutions from initial position. 0.0
Minimum Value The Smallest Value of the Wheel. 0.0
Maximum Value The Largest Value of the Wheel. 100.0
Angular Resistance The greater the value the faster rotation slows to a stop. 1.0
Marker Color The color of the Orientation Marker. The marker is only visible if Knob Image is nil. white
Knob Image An image for custom designing the wheel. Setting this to a non-nil value hides default Orientation Marker. nil
Knob Overlay Image A non-rotating decoration image for custom designing the wheel (eg. the glare on a record). nil
Overlay Alpha The alpha of the overlay image. 1.0

Example

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

Installation

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

pod 'KoiWheel'

Author

Kwab Fordjour

License

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

Latest podspec

{
    "name": "KoiWheel",
    "version": "0.1.1",
    "summary": "A customizable subclass of UIControl which allows you to create a Jog Wheel, Turntable or Knob.",
    "description": "A customizable subclass of UIControl which allows you to create a Jog Wheel, Turntable or Knob.nDevelopers can adjust the Angular Resistance of the wheel to customize its feel.",
    "homepage": "https://github.com/kwabford/KoiWheel",
    "screenshots": [
        "https://raw.githubusercontent.com/kwabford/KoiWheel/master/Media/screenshot1.png",
        "https://raw.githubusercontent.com/kwabford/KoiWheel/master/Media/screenshot2.png"
    ],
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "kwabford": "[email protected]"
    },
    "source": {
        "git": "https://github.com/kwabford/KoiWheel.git",
        "tag": "0.1.1"
    },
    "social_media_url": "https://twitter.com/kwabford",
    "platforms": {
        "ios": "12.0"
    },
    "source_files": "KoiWheel/Classes/**/*",
    "swift_version": "4.2"
}

Pin It on Pinterest

Share This