class MyStore: ObservableObject { @Published var selection:Int? func sendID(_ id: Int) { self.selection = id } }