LoadingTimer

@available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
class LoadingTimer

creates a publisher for loading time

  • create a publisher

    Declaration

    Swift

    var publisher: Timer.TimerPublisher?
  • initilazes text , width, color , delay and triggerAnimation

    Declaration

    Swift

    init(value: Double)
  • start the publisher

    Declaration

    Swift

    func start()
  • cancel the publisher

    Declaration

    Swift

    func cancel()