VMapParser

public protocol VMapParser : AnyObject

VMapParser implement XML Parsing and provide readble output as VMapResponse

  • VMap remote url

    Declaration

    Swift

    var string: String { get }
  • VMap parsing elements are declaring here.

    Declaration

    Swift

    var allCases: [any VMapKey] { get }
  • Call back of our VMapParser

    Declaration

    Swift

    var delegate: VMapParserDelegate? { get set }
  • API to request data through HTTPClient to server and start parsing our XML data

    Declaration

    Swift

    func parse(
        client: HTTPClient
    )
  • Element Extension method

    Readable format for generic VMapKey protocol

    Declaration

    Swift

    public typealias Element = (any VMapKey)