IProgressDialog

public protocol IProgressDialog : class

A progress dialog.

  • True if the dialog is already closed.

    Declaration

    Swift

    var isClosed: Bool
  • Show the dialog.

    Declaration

    Swift

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

    Declaration

    Swift

    func showDelayed(delay: Int)
  • Set 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.

  • Close the dialog.

    Declaration

    Swift

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

    Declaration

    Swift

    var isIndeterminate: Bool