-1

I am trying to build a dynamic grid. This grid is supposed to hold a dynamic number of "items", which can be deleted and added by the user. I want the grid to extend over the entire width of the devices screen. The height of the grid shall depend on the number of "items" in it. Each row in the grid shall hold as many "items" as possible without extending over the screen width. Each "items" text should be displayed in its entirety and not show something like "Chees..." instead of "Cheese Burger". If the row is full, any further items shall be displayed in the next grid row and so on. I am quite new to SwiftUI and programming in generell and i dont know what to do here. It seems like rather a common thing to do.PLease help. Id really appreciate it. THanks in advance

Makani
  • 33
  • 1
  • 2

0 Answers0