This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
// https://x.com/jrsaruo_tech/status/1893585977760743750 | |
@available(iOS 18, *) | |
struct HorizontalInlinePicker<SelectionValue, Content>: View where SelectionValue: Hashable, Content: View { | |
@Binding var selection: SelectionValue | |
@State private var centerValue: SelectionValue? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Foundation | |
// https://x.com/jrsaruo_tech/status/1554444893208334336 | |
enum DodoOrSuko: String, CaseIterable { | |
case ドド, スコ | |
} | |
enum DodoSukoState: Equatable { | |
case ready |