Swiftpack.co -  cemolcay/LiveKnob as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
cemolcay/LiveKnob
Yet another knob for iOS but with IBDesignable and Ableton Live style.
.package(url: "https://github.com/cemolcay/LiveKnob.git", from: "0.0.6")

LiveKnob

Yet another knob for iOS but with IBDesignable and Ableton Live style.
Horizontal, vertical (or both) and rotary control options.

alt tag

Requirements

  • iOS 9.0+
  • Swift 4.0+

Install

pod 'LiveKnob'

Usage

  • Drop a UIView from storyboard and change its class to LiveKnob.
  • Tweak style settings.
  • Bind an IBAction function to LiveKnobs valueChanged event.
  • Or you can do it programmatically.

alt tag

You can change the line width and color of the base ring, progress ring and pointer. Also you can tweak the start and end angles of the base knob ring.

LiveKnobControlType

You can set the controlType for changing the knob's touch control behaviour. It supports horizontal and/or vertical slidings as well as rotary slidings.

LiveKnobMarker

You can create custom marker views in with LiveKnobMarker type and set them to LiveKnob's markers array in order to draw markers around the knob. You can set individual offset and transform for each marker as well.

AppStore

This control used in my app ArpBud in App Store, check it out!

GitHub

link
Stars: 40
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

SPM Support
2 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API