Swiftpack.co - cemolcay/LiveFader as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by cemolcay.
cemolcay/LiveFader 1.0.0
@IBDesignable Horizontal or vertical UIControl subclass that can start from bottom or middle of the control.
⭐️ 21
🕓 1 year ago
.package(url: "https://github.com/cemolcay/LiveFader.git", from: "1.0.0")


@IBDesignable Horizontal or vertical UIControl subclass that can start from bottom or middle of the control.


alt tag


  • iOS 9.0+
  • Swift 4.2+
  • Xcode 10.0+



  • Import the LiveFader.swift file into your codebase


pod 'LiveFader'


  • Create a UIView instance in your storyboard and make it's class to LiveFaderView.
  • Or create a LiveFaderView programmatically.
  • Set the bottom or middle control style with the style property.
  • Set the horizontal or vertical control type with the controlType property.
  • You can bind a @IBAction to the LiveFader's valueChanged event from the storyboard or programmatically.
  • You can change the enabled/disabled/highlighted color styles from the @IBInspectable in storyboard or programmatically.
  • LiveFaderView is an open class, so you can subclass it to make it look anything you want, by playing with it's layers or adding new ones.


alt tag

  • Custom scroll view subclass lets you edit all faders with a single pan gesture recognizer.
  • Set its isFaderPanningEnabled property to true.
  • It won't let you scroll in this mode because you will use the current pan gesture for editing faders instead of scrolling.
  • Finds all LiveFaderViews in itself and it's subviews recursively, feel free to add your faders in a stack view or a custom container inside your LiveFaderScrollView.

SwiftUI Bridge

You can use it with SwiftUI

App Store

This library used in my apps in App Store, check them up!


Stars: 21
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

SPM Support
1 year ago

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