Skip to content

ADProgressHUDConfigurable

duzexu edited this page Jun 1, 2021 · 2 revisions

ADProgressHUDConfigurable

Used to indicator a time-consuming operation is in progress.

public protocol ADProgressHUDConfigurable 

Requirements

timeoutBlock

Called when task timeout.

var timeoutBlock: (() -> Void)? 

show(timeout:​)

Show ProgressHUD.

func show(timeout: TimeInterval)

Parameters

  • timeout: The duration before the task is timeout. If set 0, view will not hide automatic.

hide()

Dismiss ProgressHUD.

func hide()
Types
Protocols
Global Typealiases
Operators
Extensions
Clone this wiki locally