In continuation to my previous blog UserDefaults in Swift, where we understand the basic functionality of UserDefaults, we’ll try to understand today how can we store custom objects in UserDefaults. This post was originally posted at https://agrawalsuneet.github.io/blogs/custom-object-in-userdefaults-swift/ and reposted on Medium on 13th April 2022. UserDefaults provides us with direct…