hard20 pts · first answer countsswiftswiftuilists
Rows showing the wrong data
A List uses ForEach(names, id: \.self). When two people share the name "Priya", editing one row updates the other. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Safely unwrapping a Swift optionalMobile App Developer
- Showing a long listMobile App Developer
- Swift struct assignment copiesMobile App Developer
- Swift class shared referenceMobile App Developer
- Layering views in SwiftUIMobile App Developer
- Why list items need keysMobile App Developer
- Decoding JSON with extra keysMobile App Developer
- Showing 5,000 ordersMobile App Developer