Post

Replies

Boosts

Views

Activity

Comment on Right way to use List and Grid together
Thank you for the clarification! But could you please confirm that using List inside Grid (or Grid inside List) is not the correct way? For example: Grid { GridRow { … } // Headline List { ForEach($players) { $player in GridRow { … } // row with player's info } } } The "Model data with custom types" guide shows how to use Grid and GridRow to display content, but the practice exercise asking to include List in it confused me.
Topic: UI Frameworks SubTopic: SwiftUI
Jul ’25