Skip to content

Aligning Views like UICollectionView in SwiftUI

   

How to make it look like a UICollectionView in SwiftUI. It's easy to use a library called Q-Mobile/QGrid . I wrote this with reference to QGrid.

Grid View

Reference: Q-Mobile/QGrid

  1. Displaying a Firestore image in SwiftUI
  2. Detecting changes to the SwiftUI Toggle
  3. Creating a multi-line picker in SwiftUI
  4. Don't show the Label in the SwiftUI Picker
  5. Displaying a Picker in SwiftUI
  6. Calling the transition source method from the view of the screen transition destination in SwiftUI
  7. Create a sequential numbered array in Swift