Class
ADAlbumListCell
public class ADAlbumListCell: UITableViewCell, ADAlbumListCellConfigurable
Cell for display album in album list controller.
Relationships
Nested Types
ADAlbumListCell.Key
Key for attribute.
Conforms To
ADAlbumListCellConfigurable
Use to define albumlist controller's tableView cell.
UITableViewCell
Properties
Methods
configure(with:)
public func configure(with model: ADAlbumModel)
Config cell with album model.
Parameters
Name | Type | Description |
---|---|---|
model | ADAlbumModel |
Album info. |
setSelected(_:animated:)
public override func setSelected(_ selected: Bool, animated: Bool)
setAttributes(_:)
@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
Name | Type | Description |
---|---|---|
attrs | [Key : Any]? |
Attributes dictionary. |