IProgressDialog

public protocol IProgressDialog : AnyObject

Progress dialog

  • True if this dialog is already closed.

    Declaration

    Swift

    var isClosed: Bool { get }
  • Shows the dialog.

    Declaration

    Swift

    func show()
  • Shows the dialog after the delay, if it will not be cancelled before that.

    Declaration

    Swift

    func showDelayed(delay: Int)
  • Sets the status message.

    progress and max should be >= 0.

    Declaration

    Swift

    func setStatus(text: String, progress: Int, max: Int)

    Parameters

    text

    the status text (single-line)

    progress

    the current progress.

    max

    the max value for the progress.

  • Closes the dialog.

    Declaration

    Swift

    func close()
  • True if the progress dialog is an indeterminate one.

    Declaration

    Swift

    var isIndeterminate: Bool { get set }