SlidingRuler icon indicating copy to clipboard operation
SlidingRuler copied to clipboard

A sliding ruler control for SwiftUI

Results 11 SlidingRuler issues
Sort by recently updated
recently updated
newest added

deprecated usage in swift 5.9, updated to remove warning.

I'd like to have a pull request to modify the code to cater to time. The other thing about time is not to display -10 minute and should be continuous...

Sadly, the haptic feedback seems to be broken with the newest iOS release. I have set tick to every setting, but there is no feedback on my iPhone (iPhone 11).

I'm trying to use the custom styling like this: ```swift [...].slidingRulerStyle(BlankCenteredSlidingRulerStyle()) ``` However, I'm getting an error: ``` 'BlankCenteredSlidingRulerStyle' initializer is inaccessible due to 'internal' protection level ``` [From what...

[SwiftUI] Accessing Environment's value outside of being installed on a View. This will always read the default value and will not update. @State private var value: Double = .zero private...

Would be great to have macOS support. It doesn't look like there's a lot of UIKit-specific code: https://github.com/Pyroh/SlidingRuler/search?q=uikit https://stackoverflow.com/questions/14158743/alternative-of-cadisplaylink-for-mac-os-x When you target iOS 15, you could use [`TimelineView`](https://developer.apple.com/documentation/swiftui/timelineview?changes=latest_minor) for the...

How do i use this component with interface builder so that i can just drag it somewhere in to a view and use it like a regular button without doing...

Is there a way to set fractions to something other than 10? I need a value of 8 to represent a ruler with inches in 1/8 fractions.

Added support for AppKit. Major changes included switching from a pan gesture to a scrollviewEvent. Inertia not implemented though but this should be a good enough base for someone who...