'How do I create an editable table in SwiftUI? [closed]

how do I create a table on a view (see screenshot)? The user should be able to edit/ put some data into the textfields. I tried to recreate it by adding multiple VStacks and HStacks but my Xcode started complaining pretty fast.

I hope anyone can help me with this. It should be noted that there will be a few of such tables, so the user will be giving much input (just in case it has some effect on app performance). It will be inside of a ScrollView and a NavigationView.

Anyway, I appreciate any kind of Advice and thanks in Advance! Kind Regards

Screenshot



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source