79388227

Date: 2025-01-26 08:47:36
Score: 2
Natty:
Report link

Not sure if your question was answered but I think you can find the answer here : Swiftui append to a struct array doesn't work.

The problem you have is basically because you have everything in a view but should use something like ObservableObject: instead. The view is reloaded and cleared each time so that's why your entries are reset constantly.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: knirez