Tag Archives: Save custom object in userdefaults swift

Save custom objects into UserDefaults

      No Comments on Save custom objects into UserDefaults

In this post, I will discuss how to save a custom object in UserDefaults. We will use Codable and JSON to save and retrieve data from UserDefaults. Before we begin let me caution you UserDefaults are not your database. Use CoreData or Realm for all your heavy lifting. Make your… Read more »