CountdownTimer

class CountdownTimer

Helper class that wraps a Timer and provides convenience methods.

Attributes.

Public Methods.

  • Undocumented

    Declaration

    Swift

    init(countdownTo date: Date)
  • Undocumented

    Declaration

    Swift

    deinit
  • Undocumented

    Declaration

    Swift

    func invalidate()
  • Undocumented

    Declaration

    Swift

    func start()

Private Helpers.

  • Undocumented

    Declaration

    Swift

    static func format(_ components: DateComponents) -> String