ADPhotoKit Documentation

Protocol ADThumbnail​Nav​Bar​Configurable

public protocol ADThumbnailNavBarConfigurable  

Use to define thumbnail 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.

right​Action​Block

var rightActionBlock: ((UIButton)->Void)?  

Called when tap navigation bar's right button.

reload​Album​Block

var reloadAlbumBlock: ((ADAlbumModel)->Void)?  

Called when select album model changed.

init(style:​)

init(style: ADPickerStyle) 

Create with the style of bar.