FUICollectionItemView

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

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

Usage

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:

fdlFUICollectionItemView {}

Supported TEXT class paths:

fdlFUICollectionItemView_title {}
fdlFUICollectionItemView_subtitle {}
fdlFUICollectionItemView_status {}
fdlFUICollectionItemView_placeholder {}

Supported TEXT properties:

font-color: Color;
font-style: UIFontTextStyle;
text-line-clamp: Integer;
text-align: NSTextAlignment;

Supported IMAGE class paths:

fdlFUICollectionItemView_detailImageView {}

Supported IMAGE properties:

tint-color: Color;
  • FUIText for the buisiness object’s title.

    Design Language specifications:

    • The title is single line and centered

    Declaration

    Swift

    public private(set) var title: FUIText { get }
  • FUIText for the buisiness object’s subtitle

    Design Language specifications:

    • The subtitle is single line and centered

    Declaration

    Swift

    public private(set) var subtitle: FUIText { get }
  • FUIText for the buisiness object’s status

    Design Language specifications:

    • The status is single line and centered

    Declaration

    Swift

    public private(set) var status: FUIText { get }
  • The layout of the action buttons within the cell. The default value is .none

    Declaration

    Swift

    open var actionLayout: FUIControlLayout { get set }