Your Second iOS and SwiftUI App 路 Binding | raywenderlich.com

I just tried it again, both in this version of the project, and the final one. It works!

But it didn鈥檛 work when I was writing this course. :disappointed: Next year, hopefully this will be stable and we鈥檒l get to employ it, or something newer and simpler!

For reference, if anyone else wants to try out the code without renaming:

ForEach(
  Array( taskStore.tasks.enumerated() ),
  id: \.element.id
) { index, _ in
  RowView(task: self.$taskStore.tasks[index])
}
1 Like