You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Interesting! How quickly are you closing the app, and how? IIRC pressing the stop button in Xcode too soon after writing to defaults doesn't leave time for it to synchronize, and it's generally bad practice to trigger defaults synchronizations manually.
If you close the app by swiping it up in the app switcher, the value should get saved.
Create a Codable structure according to your example and trying to save object, close app, restore object. Sometimes it works sometimes not
The text was updated successfully, but these errors were encountered: