SwiftyUserDefaults icon indicating copy to clipboard operation
SwiftyUserDefaults copied to clipboard

[WIP] make more integer types DefaultsSerializable

Open DivineDominion opened this issue 6 years ago • 0 comments

I started with UInt, but the obvious next step would be to add Int64/32/16/8 and UInt64/32/16/8.

The code is pretty repetitive. In other projects, we used a code generator for this to prevent typos and code that's getting on one's nerves to maintain. But for 8 new types and their tests, we could stick with manual implementations just as well.

  • Do you want to support the other types out of the box at all, anyway?
  • Do you want manual or generated code?

DivineDominion avatar Apr 16 '19 08:04 DivineDominion