
Storing struct in UserDefaults
Structs can’t be directly stored in UserDefaults because UserDefaults does not know how to serialize it. As UserDefaults is backed by plist files, struct needs to be converted representation supported… Read more Storing struct in UserDefaults →