Source

public protocol Source : StyleDecodable, StyleEncodable, Decodable, Encodable

Undocumented

  • Rendering type of this source.

    Declaration

    Swift

    var type: SourceType { get }
  • init(jsonObject:) Extension method

    Initializes a Source given a JSON dictionary

    Throws

    Errors occurring during decoding

    Declaration

    Swift

    init(jsonObject: [String : Any]) throws