ADPhotoKit Documentation

Protocol ADBrowser​Cell​Configurable

public protocol ADBrowserCellConfigurable  

Use to define browser controller's collection view cell.

%117 ADBrowserCellConfigurable ADBrowserCellConfigurable ADBrowserBaseCell ADBrowserBaseCell ADBrowserBaseCell->ADBrowserCellConfigurable ADImageBrowserCellConfigurable ADImageBrowserCellConfigurable ADImageBrowserCellConfigurable->ADBrowserCellConfigurable ADVideoBrowserCellConfigurable ADVideoBrowserCellConfigurable ADVideoBrowserCellConfigurable->ADBrowserCellConfigurable

Types Conforming to ADBrowser​Cell​Configurable

ADImageBrowserCellConfigurable

Use to define browser controller's image collection view cell.

ADVideoBrowserCellConfigurable

Use to define browser controller's video collection view cell.

Requirements

single​Tap​Block

var singleTapBlock: (() -> Void)?  

Called when tap cell.

cell​Will​Display()

func cellWillDisplay() 

Call when cell will display.

cell​Did​End​Display()

func cellDidEndDisplay() 

Call when cell did end display.

transation​Begin()

func transationBegin() -> (UIView,CGRect) 

Call when begin pull down in browser controller.

transation​Cancel(view:​)

func transationCancel(view: UIView) 

Call when cancel pull down in browser controller.