CIOQuizImages

public struct CIOQuizImages

Struct encapsulating a question images

  • Primary image URL

    Declaration

    Swift

    public let primaryUrl: String?
  • Primary image alternative text

    Declaration

    Swift

    public let primaryAlt: String?
  • Secondary image URL

    Declaration

    Swift

    public let secondaryUrl: String?
  • Secondary image alternative text

    Declaration

    Swift

    public let secondaryAlt: String?
  • Create a question images

    Declaration

    Swift

    init?(json: JSONObject)

    Parameters

    json

    JSON data from the server response