title: UICollectionView and SwiftUI?
body: <p>How to create grid of square items (for example like in iOS Photo Library) with SwiftUI? </p>
  
  <p>I tried this approach but it doesn't work:</p>
  
  <pre><code>var body: some View {
      List(cellModels) { _ in
          Color.orange.frame(width: 100, height: 100)
      }
  }
  </code></pre>
  
  <p>List still has UITableView style:</p>
  
  <p><a href="https://i.stack.imgur.com/tyrV8.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/tyrV8.jpg" alt="enter image description here"></a></p>