ADPhotoKit Documentation

Protocol ADAlert​Configurable

public protocol ADAlertConfigurable  

Protocol use to show alert.

Requirements

alert(on:​title:​message:​completion:​)

static func alert(on: UIViewController, title: String?, message: String?, completion: ((Int)->Void)?) 

Show alert on controller.

Parameters

on UIView​Controller

The controller to show alert.

title String?

Alert title.

message String?

Alert message.

completion ((Int)->Void)?

Called when confirm button click.