/
Launch Apollo Studio


PROTOCOL

Parseable

public protocol Parseable

A protocol to represent anything that can be decoded by a FlexibleDecoder

Methods

init(from:decoder:)

init<T: FlexibleDecoder>(from data: Data, decoder: T) throws

Required initializer

  • Parameters:

    • data: The data to decode
    • decoder: The decoder to use to decode it

Parameters

NameDescription
dataThe data to decode
decoderThe decoder to use to decode it
Edit on GitHub