FUICollectionSectionHeaderFooterView
open class FUICollectionSectionHeaderFooterView: NibDesignableCollectionReusableView
UICollectionReusableView
supplementary view for headers and footers. API matches that of FUITableViewHeaderFooterView
, excluding leading-
and trailingPadding
properties.
The FUICollectionSectionHeaderFooterView
has two style options: .title
, and .attribute
.
In .title
style, only the titleLabel
is displayed.
In .attribute
style, the titleLabel
is displayed, and the attributeLabel
may also be displayed. Also, in .attribute
style, the disclosure indicator is displayed by default.
-
Reuse identifier
Declaration
Swift
open static var reuseIdentifier: String
Return Value
String a reuse identifier that describes FUICollectionSectionHeaderFooterView
-
UILabel
for title content. Visible in all styles.Declaration
Swift
open var titleLabel: UILabel
-
UILabel
for attribute content. Hidden by default, in.title
style.Declaration
Swift
open var attributeLabel: UILabel
-
Bool
flag, to set whether disclosure indicator is visible. Hidden by default, in.title
style.Declaration
Swift
open var isDisclosureAccessoryHidden: Bool
-
Style of the view. Determines which views are visible; affects labels’ fonts, and vertical padding.
Declaration
Swift
open var style: FUISectionHeaderFooterStyle
-
Optional handler, to respond to tap events on the view.
Declaration
Swift
open var didSelectHandler: ((Void) -> (Void))?