Closed Kalzem closed 4 years ago
Hey @Kalzem. This is a problem when you have an enum that is both Codable
and RawRepresentable
(String
in your case). See my answer in this issue and let me know if it helps.
Ohhh I couldn't find the ticket you mention as the xcode error is different :)
Thank you!
@Kalzem no problem at all, hope it helped with the issue :)
I am trying to use an enum which is declared like this:
And this is how I implemented SwiftyUserDefaults
How am I supposed to use enum with DefaultsKey?