Fixes #79.
Add two protocol Defaults.PreferRawRepresentable and Defaults.PreferNSSecureCoding.
These protocols are in order to let user conveniently force their serialization.
Usage
private enum Foo: Int, Defaults.Serializable & Codable & Defaults.PreferRawRepresentable {
case tenMinutes = 10
case halfHour = 30
case oneHour = 60
}
Summary
Fixes #79. Add two protocol
Defaults.PreferRawRepresentable
andDefaults.PreferNSSecureCoding
. These protocols are in order to let user conveniently force their serialization.Usage
Thanks for your code review 😄 !