I\'m starting to play with SwiftUI. I found code that allows me to attach an onReceive() handler to a view object, set up to respond to NotificationCenter
onReceive()
NotificationCenter