Picker in the Real World?

When updating an external database from Swift UI on macOS.

The database is the source of truth, so when the database changes, so should the Picker. When I select another Picker value, I send this value to the database. Then I poll the database. It returns whatever value it actually has and updates my Picker accordingly. I think this is a Real World scenario, so my question is...

Has Apple ever tried to do this for themselves, because my current thinking is that the Picker and the Toggle controls are not fit for purpose? I'd be humbly grateful if Apple, or someone far knowledgable than I, would provide example code to prove I'm jumping to the wrong conclusion.

P.S. The same applies with Toggle, so I was forced to use a normal Button instead and simply change the colour of the the text to reflect the outcome. It would be impractical to replace a Picker with many values.

Picker in the Real World?
 
 
Q