StyleTransition

public struct StyleTransition : Codable

The transition property for a layer. A transition property controls timing for the interpolation between a transitionable style property’s previous value and new value.

  • Time allotted for transitions to complete.

    Declaration

    Swift

    public var duration: TimeInterval
  • Length of time before a transition begins.

    Declaration

    Swift

    public var delay: TimeInterval
  • Undocumented

    Declaration

    Swift

    public init(duration: TimeInterval, delay: TimeInterval)