CIOQuizOption
public struct CIOQuizOption
Struct encapsulating a quiz option
-
The id of the option
Declaration
Swift
public let id: Int
-
The value of the option
Declaration
Swift
public let value: String
-
The attribute associated with the option
Declaration
Swift
public let attribute: CIOQuizOptionAttribute?
-
The images associated with the option
Declaration
Swift
public let images: CIOQuizImages?
-
Create a quiz option
Declaration
Swift
init?(json: JSONObject)
Parameters
json
JSON data from the server response