This particular script will help you to store and retrieve custom class or struct objects in UserDefaults.
For further explaination on how this works, please read the article Custom Object in UserDefaults : Swift.
This particular script will help you to store and retrieve custom class or struct objects in UserDefaults.
For further explaination on how this works, please read the article Custom Object in UserDefaults : Swift.