Correction
class Correction: NSObjectA single correction.
-
Initializes a new
MPPCorrectionwith the given type and text.Declaration
Swift
init(type: CorrectionType, text: String)Parameters
typeThe type of correction.
textThe text associated with the correction.
Return Value
An initialized
MPPCorrection. -
The text associated with the correction.
Declaration
Swift
var text: String { get } -
The type of correction.
Declaration
Swift
var type: CorrectionType { get }