Protocol
ADBrowserToolBarConfigurable
public protocol ADBrowserToolBarConfigurable
Use to define browser controller's tool bar.
Requirements
height
var height: CGFloat
Tool bar height.
modifyHeight
var modifyHeight: CGFloat
Bar height when select assets changed.
isOriginal
var isOriginal: Bool
If select orginal asset.
editActionBlock
var editActionBlock: (()->Void)?
Called when edit button click.
doneActionBlock
var doneActionBlock: (()->Void)?
Called when done button click.
init(dataSource:)
init(dataSource: ADAssetBrowserDataSource)
Create with browser controller's datasource.
Parameters
Name | Type | Description |
---|---|---|
dataSource | ADAssetBrowserDataSource |
Browser controller datasource. |