RSDDecodableReplacement
public protocol RSDDecodableReplacement : AnyObject
A light-weight protocol for replacing the mutable properties on a class with values from a decoder.
-
Decode from the given decoder, replacing mutable properties on self with those from the decoder.
Declaration
Swift
func decode(from decoder: Decoder) throws