ADPhotoKit Documentation

Protocol ADProgress​HUDConfigurable

public protocol ADProgressHUDConfigurable  

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

Requirements

timeout​Block

var timeoutBlock: (() -> Void)?  

Called when task timeout.

show(timeout:​)

func show(timeout: TimeInterval) 

Show ProgressHUD.

Parameters

timeout Time​Interval

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

hide()

func hide() 

Dismiss ProgressHUD.