Hi allbdrii0,
I think that the correct place to save data on device it strongly depends on a large set of variables like: the data type you're trying to save, the amount of data, the architecture of you're app, etc....
In general, I always use these rules to choose where I can store my data:
Keychain: store all sensitive data (like passwords, secret tokens, coins amount, in-app purchase status, ...);
UserDefaults: store only small amounts of not sensitive data (user preference like the app theme or the app language);
CoreData: store large (or potentially large) amounts of data or store data that is queried/filtered often.
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: