Hopefully someone can point me in the right direction as I’m tearing my hair out with this one! I’m following the Handling User Input guide produced by Apple for SwiftUI. I’ve followed Chris’s video but I still can’t work out were I have gone wrong.
The app loads and build and appears to function correctly but my button to toggle the favorite status doesn’t save the change. I can see the state change on the location detail screen but when I return to the list view, the update of the isFavorite property hasn’t saved.
Has anyone else seen this issue? This is 20 minute guide apparantly and i’m on about 8 hours so far