ADPhotoKit Documentation

Class ADAlbum​List​Cell

public class ADAlbumListCell: UITableViewCell, ADAlbumListCellConfigurable  

Cell for display album in album list controller.

%141 ADAlbumListCell ADAlbumListCell UITableViewCell UITableViewCell ADAlbumListCell->UITableViewCell ADAlbumListCellConfigurable ADAlbumListCellConfigurable ADAlbumListCell->ADAlbumListCellConfigurable

Nested Types

ADAlbumListCell.Key

Key for attribute.

Conforms To

ADAlbumListCellConfigurable

Use to define albumlist controller's tableView cell.

UITableViewCell

Properties

album​Model

public var albumModel: ADAlbumModel! 

Album model to config cell interface.

style

public var style: ADPickerStyle! = .normal  

Album display style.

Methods

configure(with:​)

public func configure(with model: ADAlbumModel)  

Config cell with album model.

Parameters

model ADAlbum​Model

Album info.

set​Selected(_:​animated:​)

public override func setSelected(_ selected: Bool, animated: Bool)  

set​Attributes(_:​)

@objc
    public func setAttributes(_ attrs: [Key : Any]?)  

You may specify the corner radius, title color, title font, count font, and count color properties for the cell in the attributes dictionary, using the keys found in ADAlbumListCell.Key.

Parameters

attrs [Key :​ Any]?

Attributes dictionary.