PitStopSteps

@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
public struct PitStopSteps : Hashable

Pitstop view and custom options

  • placeholder for View to render

    Declaration

    Swift

    public var view: AnyView
  • options to customise pitstop line for width and Color

    Declaration

    Swift

    public var lineOptions: PitStopLineOptions
  • Initilazer to hold View and pit stop line Options

    Declaration

    Swift

    public init(view: AnyView, lineOptions: PitStopLineOptions = .custom(1, Colors.gray(.light).rawValue))

    Parameters

    view

    View to render

    lineOptions

    options to customise pitstop line for width and Color

  • to generate hash

    Declaration

    Swift

    public func hash(into hasher: inout Hasher)

    Parameters

    hasher

    hasger variable

  • equatable override

    Declaration

    Swift

    public static func == (lhs: PitStopSteps, rhs: PitStopSteps) -> Bool

    Parameters

    lhs

    lhs variable for comparison

    rhs

    lhs variable for comparison