omaralbeik / UserDefaultsStore

Why not use UserDefaults to store Codable objects 😉

Home Page:https://omaralbeik.github.io/UserDefaultsStore/documentation/userdefaultsstore/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Doesn't work with classes

mark-anders opened this issue · comments

After porting a bunch of code to work with UserDefaultsStore, I discovered that the "objects" you store can only be structs. It would be good to document this.

Sorry for the inconvenience @mark-anders 😅

Looks like marking your class as final will solve the problem

That did it. Thank you!