Skip to content

Collection Item View

FUICollectionItemView

open class FUICollectionItemView: FUIImageCollectionItemView, FUITitleComponent, FUISubtitleComponent, FUIStatusComponent, FUISecondaryButtonControlComponent, FUIContentCopyable

View component of FUIItemCollectionViewCell. Typically not used directly by developer.

Usage

1
2
3
4
5
6
let itemView = FUICollectionItemView()
itemView.detailImageView.image = UIImage(named: "profile")
itemView.detailImageViewSize = CGSize(width: 90, height: 90)
itemView.title.text = "Franck Syren"
itemView.subtitle.text = "Java Developer"
itemView.status.text = "Available"

Theming

nuiClass:

1
fdlFUICollectionItemView {}

Supported TEXT class paths:

1
2
3
4
fdlFUICollectionItemView_title {}
fdlFUICollectionItemView_subtitle {}
fdlFUICollectionItemView_status {}
fdlFUICollectionItemView_placeholder {}

Supported TEXT properties:

1
2
3
4
font-color: Color;
font-style: UIFontTextStyle;
text-line-clamp: Integer;
text-align: NSTextAlignment;

Supported IMAGE class paths:

1
fdlFUICollectionItemView_detailImageView {}

Supported IMAGE properties:

1
tint-color: Color;

Last update: December 8, 2020