Contents

init(rawValue:)

Creates a fill mode from its backing data type.

Declaration

init(rawValue: Int8)

Parameters

  • rawValue:

    The backing data value for the fill mode.

Discussion

Use this initializer to unarchive a fill mode from data:

let rawValue = unarchiveNextInt8(from: data) // Pseudo code.
let fillMode = AnimationFillMode(rawValue: rawValue)

See Also

Choosing a fill mode