swift-cross-ui icon indicating copy to clipboard operation
swift-cross-ui copied to clipboard

Align Slider API with SwiftUI

Open stackotter opened this issue 4 weeks ago • 1 comments

The SwiftCrossUI Slider API differs from SwiftUI's Slider API in a few ways, and it's kinda annoying when transitioning code between the two frameworks.

SwiftUI has a value: label for its binding parameter, whereas SCUI's is unlabelled. SwiftUI also supports ranges with the in: parameter, whereas SCUI doesn't.

We should align the APIs so that transitioning code isn't needlessly annoying.

stackotter avatar Dec 03 '25 12:12 stackotter