- July 26, 2025
- Mins Read
use_frameworks!
pod “HorizontalDial”
To install manually the HorizontalDial in an app, just drag the HorizontalDial.swift
file into your project.
Property | Type | Description |
---|---|---|
enableRange |
Bool |
Use range mode |
minimumValue |
Double |
Acceptable minimum value |
maximumValue |
Double |
Acceptable maximum value |
value |
Double |
Value |
tick |
Double |
Increase value |
centerMarkColor |
UIColor |
Set center mark color |
centerMarkWidth |
CGFloat |
Set center mark width |
centerMarkHeightRatio |
CGFloat |
Set center mark height |
centerMarkRadius |
CGFloat |
Set center mark radius |
markColor |
UIColor |
Set mark color |
markWidth |
CGFloat |
Set mark width |
markRadius |
CGFloat |
Set mark radius |
markCount |
Int |
The number of mark in view |
padding |
Double |
Vertical offset from bottom in landscape mode |
verticalAlign |
String |
Vertical Align as top , middle , bottom |
lock |
Bool |
User input lock |
Protocol | Description |
---|---|
horizontalDialWillBeginScroll(horizontalDial: HorizontalDial) |
This method is called whenever the HorizontalDial will begin an animated scroll. |
horizontalDialDidEndScroll(horizontalDial: HorizontalDial) |
This method is called whenever the HorizontalDial will ends an animated scroll. |
horizontalDialWillValueChanged(horizontalDial: HorizontalDial) |
This method is called whenever the HorizontalDial will value changed. |
horizontalDialDidValueChanged(horizontalDial: HorizontalDial) |
This method is called whenever the HorizontalDial did value changed. |
NavigationKit is a lightweight library which makes SwiftUI navigation super easy to use. 💻 Installation 📦 Swift Package Manager Using Swift Package Manager, add ...
An alternative SwiftUI NavigationView implementing classic stack-based navigation giving also some more control on animations and programmatic navigation. NavigationStack Installation ...
With SwiftUI Router you can power your SwiftUI app with path-based routing. By utilizing a path-based system, navigation in your app becomes ...
This package takes SwiftUI's familiar and powerful NavigationStack API and gives it superpowers, allowing you to use the same API not just ...