These changes allow the wrapped KeyboardView to update certain properties through SwiftUI when needed.
This will partially help with AudioKit/Cookbook#1, but I also need to update the Cookbook examples using KeyboardWidget().
Edit: The KeyboardWidgetSettings class was not needed to publish changes when the view is updated. I just realized SwiftUI does that automatically when a @State var is passed into the KeyboardWidget class.
These changes allow the wrapped KeyboardView to update certain properties through SwiftUI when needed.
This will partially help with AudioKit/Cookbook#1, but I also need to update the Cookbook examples using
KeyboardWidget()
.Edit: The
KeyboardWidgetSettings
class was not needed to publish changes when the view is updated. I just realized SwiftUI does that automatically when a@State var
is passed into theKeyboardWidget
class.