Hi, I'm pretty new to programming, and I’m having a bit of trouble with Core Data. I have a list view that passes fetched data to a view that contains the individual objects in the list and another view where you can edit the data. However, when I edit the data, it doesn’t update it on the view until I quit and reopen the app.
So how would I go about manually (or preferably automatically) refreshing the view? I’ve heard that @FetchRequest is supposed to automatically refresh the view when any of the data is updated, but that doesn’t seem to be the case (unless of course I somehow missed some crucial line of code).
Any help would be greatly appreciated!
So how would I go about manually (or preferably automatically) refreshing the view? I’ve heard that @FetchRequest is supposed to automatically refresh the view when any of the data is updated, but that doesn’t seem to be the case (unless of course I somehow missed some crucial line of code).
Any help would be greatly appreciated!