Overview patterns
-
UITableViewHeaderFooterViewreusable view for headers and footers.The
UITableViewHeaderFooterViewhas two style options:.title, and.attribute.In
.titlestyle, only thetitleLabelis displayed.In
See more.attributestyle, thetitleLabelis displayed, and theattributeLabelmay also be displayed. Also, in.attributestyle, the disclosure indicator is displayed by default.Declaration
Swift
@MainActor open class FUITableViewHeaderFooterView : NibDesignableTableViewHeaderFooterView -
UICollectionReusableViewsupplementary view for headers and footers. API matches that ofFUITableViewHeaderFooterView, excludingleading-andtrailingPaddingproperties.The
FUICollectionSectionHeaderFooterViewhas two style options:.title, and.attribute.In
.titlestyle, only thetitleLabelis displayed.In
.attributestyle, thetitleLabelis displayed, and theattributeLabelmay also be displayed. Also, in.attributestyle, the disclosure indicator is displayed by default.To set background color, use
See moresetBackgroundColor(_:)instead of settingbackgroundColordirectly.Declaration
Swift
@MainActor open class FUICollectionSectionHeaderFooterView : NibDesignableCollectionReusableView -
Describes different presentation styles in
See moreFUISectionHeaderFooter. Determines which views are visible; affects labels’ fonts, and vertical padding.Declaration
Swift
public enum FUISectionHeaderFooterStyle