Please Confirm
macOS Version(s) Used to Build
macOS 15.x Sequoia
Xcode Version(s)
Xcode 16.x
Description
I expected that changes to the isOffline status for devices would automatically refresh for the Observable variation of MidiManager. This is somehow not the case.
To reproduce just create an ObservableMIDIManager. Loop over the devices in the SwiftUI view like in the example. Be sure to display the online/offline status via device.isOffline. Then turn on off any connected midi controller. The status never changes.
ForEach(mm.devices) { device in
Text(device.name)
Text(device.isOffline)
}
Please Confirm
macOS Version(s) Used to Build
macOS 15.x Sequoia
Xcode Version(s)
Xcode 16.x
Description
I expected that changes to the
isOfflinestatus for devices would automatically refresh for the Observable variation of MidiManager. This is somehow not the case.To reproduce just create an ObservableMIDIManager. Loop over the devices in the SwiftUI view like in the example. Be sure to display the online/offline status via
device.isOffline. Then turn on off any connected midi controller. The status never changes.