FieldCoders
public enum FieldCoders
Namespace for Built-in Field Coders
-
A
See moreFieldCoderType
that implements the default Core Data transformable attribute behavior, which uses aValueTransformer
named.secureUnarchiveFromDataTransformerName
.Declaration
Swift
public struct DefaultNSSecureCoding<T> : FieldCoderType where T : DefaultNSSecureCodable
-
A
FieldCoderType
that implements JSON encoding and decoding ofCodable
values.Important
Due to restrictions ofJSONEncoder
, the value will be contained in single-item array before encoding.Declaration
Swift
public struct Json<V> : FieldCoderType where V : Decodable, V : Encodable
-
A
See moreFieldCoderType
that implements encoding and decoding ofNSCoding
valuesDeclaration
Swift
public struct NSCoding<V> : FieldCoderType where V : NSObject, V : NSCoding
-
A
FieldCoderType
that implements Binary-Plist encoding and decoding ofCodable
values.Important
Due to restrictions ofJSONEncoder
, the value will be contained in single-item array before encoding.Declaration
Swift
public struct Plist<V> : FieldCoderType where V : Decodable, V : Encodable