title: Add a border with cornerRadius to an Image in SwiftUI Xcode beta 5
body: <p>how can I add a border with a <code>cornerRadius</code> to an Image. I get a deprecation warning saying that i should use a RoundedRectange Shape, but i don't know how to use that exactly </p>
  
  <p>Beta 4:</p>
  
  <pre><code>Image(uiImage: ...)
     .border(Color.black, width: 2, cornerRadius: 10)
  </code></pre>