DurationPicker
DurationPicker copied to clipboard
⏰ A customizable picker for selecting time values with hours, minutes, and/or seconds
Will add support shortly after the repo is made public! **Note:** Since the library contains localized resources, we need to resolve the issue described [here](https://forums.developer.apple.com/forums/thread/652736)
I'm aware UIDatePicker uses TimeInterval, but that's for legacy reasons. It makes more sense to use `Duration`.
Basically: ```swift DurationPickerView( $duration, components: .hourMinute, minumumDuration: 10 ) ``` Results in:  But I don't think it should allow 0 min here. Same for `.hour` and all the modes...
## Description Added a SwiftUI wrapper for `DurationPicker` called `DurationPickerView`. I added it under a new library since very rarely do UIKit users want to use a SwiftUI component (and...
### Issue When using `DurationPicker` in, for example, `.minuteSecond` mode with a `maximumDuration` of 180 , the minutes wheel shows numbers past 3 minutes, even though these would never ever...