Image Collection View Cell¶
FUIImageCollectionViewCell¶
open class FUIImageCollectionViewCell: FUIBaseItemCollectionViewCell<FUIImageCollectionItemView>
UICollectionViewCell subclass used for displaying business object's image in a collectionView.
Developer should use the FUIImageCollectionItemView API set to build the view.
Usage¶
let cell = collectionView.dequeueReusableCell(withReuseIdentifier: FUIImageCollectionViewCell.reuseIdentifier, for: indexPath) as! FUIImageCollectionViewCell
cell.itemSize = .small
cell.detailImageView.image = UIImage(named: "profile")
cell.detailImageView.isCircular = true
Theming¶
nuiClass:
1 | |
Supported IMAGE class paths:
fdlFUIImageCollectionViewCell_detailImageView {}
Supported IMAGE properties:
tint-color: Color;
Last update: April 14, 2021