title: SwiftUI example for autocompletion
body: <p>I'm a SwiftUI beginner. I have an array of "values" provided by an API and what I want is to make autocompletion when we tap characters in a "textfield". Can you please provide me an example of code for SwiftUI which can do this stuff ? </p>
  
  <p>What I mean by autocompletion is this :</p>
  
  <p><a href="https://i.stack.imgur.com/eMXkJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eMXkJ.png" alt="enter image description here"></a></p>
  
  <p>I have my own values and not those provided by google such here;</p>
  
  <p>thx</p>