Alexander Young
Alexander Young
Hi @xremix, There is a `AxisLabels` view in this project that you can use to achieve that. But you can compose it with any view. Here is an example. ```swift...
Hi, you have to disable `.forceAdjacentValue` Here is an example ```swift RangeSlider(range: $range2) .rangeSliderStyle( HorizontalRangeSliderStyle( track: HorizontalRangeTrack( view: Capsule().foregroundColor(.purple) ) .background(Capsule().foregroundColor(Color.purple.opacity(0.25))) .frame(height: 8), lowerThumb: Circle().foregroundColor(.purple), upperThumb: Circle().foregroundColor(.purple), lowerThumbSize: CGSize(width: 32,...
Hi @skryshi Sorry about answering so late. There is no way to do it right now, but this is something I should definitely do. I'll keep you posted here on...
This is happening because default root for the `exclude` is `Sources/Socket` folder. ``` exclude: ["BlueSocket.xcodeproj", "BlueSocket.xcworkspace", "README.md", "Sources/Info.plist", "Sources/Socket.h"] ```
@Noor-Ahmed-Natali @alex-sarkisov In the release [2.1.0](https://github.com/spacenation/swiftui-sliders/releases/tag/2.1.0) you can now specify `distance` range. (Minimum ... Maximum) ```swift RangeSlider(range: $model.range, distance: 0.1 ... 1.0) ``` Hope this helps!
Hi @Muhammadbarznji, We have a `step` property already. Will this fit your use case? ```swift ValueSlider(value: $value, in: 0 ... 100, step: 5) ```
Hi @alexwhb, There are more examples in the Previews. Let me know if this helps. https://github.com/spacenation/swiftui-sliders/blob/d5a7d856655d5c91f891c2b69d982c30fd5c7bdf/Sources/Sliders/RangeSlider/RangeSlider.swift#L81-L181