Creating a multi-line picker in SwiftUI
This is a way to create a multi-line picker like UIPickerView. The usability is quite different from UIPickerView and I was puzzled. Reference: Multi-Component Picker (UIPickerView) in SwiftUI Read more
This is a way to create a multi-line picker like UIPickerView. The usability is quite different from UIPickerView and I was puzzled. Reference: Multi-Component Picker (UIPickerView) in SwiftUI Read more
How not to display the Label in the SwiftUI Picker. It is possible to do so by setting labelsHidden. 参考: How to hide Read more
This is a sample to display the picker in SwiftUI. In case of multiple lines, click here. Creating a multi-line picker in SwiftUI Reference: Is there a way to call a function when a SwiftUI Picker selection changes? Read more
This is a sample that calls the transition source method from the view of the screen transition destination in SwiftUI. I used delegate, but it might be better to write in Combine. Read more
Here's how to create a sequential numbered array in Swift. It's hard to remember how to write.