toastersocks / MultiPicker

A Picker for iOS that can be used to choose from one, one or none, or multiple options.
MIT License
28 stars 5 forks source link

Add modal display in an action sheet #1

Closed ipodishima closed 5 months ago

ipodishima commented 9 months ago

I needed a new way to display multiple items without using a navigation link, so added a modal display.

toastersocks commented 8 months ago

@ipodishima Hey, sorry I only noticed this today. I'll take a look, thanks!

toastersocks commented 5 months ago

@ipodishima Ok, I had a look at this. Upon some reflection, and considering that it's fairly straight-forward to implement a modal display style using the MultiPickerStyle.inline style in a sheet without much code on the user-side, I don't think this is a use-case I want to incorporate and maintain library-side. I'm trying to keep the picker styles as close to SwiftUI.Picker as I can. I do appreciate the interest and the PR. I'm glad you were able to find a use for MultiPicker 🙂