Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 457 Bytes

File metadata and controls

16 lines (11 loc) · 457 Bytes

CodingStrategy

A description of this package.

Usage: @CustomCoded var property: GenericType

where SomeGenericStrategy conforms to CodingStrategy { associatedtype InputType: Codable associatedtype OutputType: Codable

static func decode(_ value: InputType) throws -> GenericType
static func encode(_ date: GenericType) -> InputType

}

Installation through SPM: https://github.com/AndreyAnt/CodingStrategy.git