ADPhotoKit Documentation

Protocol ADBrowser​Nav​Bar​Configurable

public protocol ADBrowserNavBarConfigurable  

Use to define browser controller's navigation bar.

Requirements

height

var height: CGFloat  

Navigation bar height.

title

var title: String?  

Navigation bar title.

left​Action​Block

var leftActionBlock: (()->Void)?  

Called when navigation bar's left button click.

select​Action​Block

var selectActionBlock: ((Bool)->Bool)?  

Called when navigation bar's select button click. The parameter Bool represent asset is selet or not.

init(data​Source:​)

init(dataSource: ADAssetBrowserDataSource) 

Create with browser controller's datasource.

Parameters

data​Source ADAsset​Browser​Data​Source

Browser controller datasource.