mattybwoy / Under-The-Weather

0 stars 0 forks source link

Avoid UserDefaults for Data Persistence #6

Open abeldemoz opened 6 months ago

abeldemoz commented 6 months ago

User Defaults is supposed to be for small pieces of data such as settings/preferences. Weather data and cities should be persisted via Core Data or SwiftData

mattybwoy commented 6 months ago

Yeah I know, but I think its only storing cityIDs which are required to get weather and images. Full database seems overkill but will implement coredata for the next project :)