FUIBaseTableViewHeaderFooterView
@MainActor
open class FUIBaseTableViewHeaderFooterView : UITableViewHeaderFooterView, FUIViewBorderDrawing
A UITableViewHeaderFooterView subclass, which supports top and bottom padding and separators.
-
Reuse identifier
Declaration
Swift
@MainActor open class var reuseIdentifier: String { get } -
Clear spacing preserved above the view. Should be used to set header spacing, when the table view’s header height is
UITableView.automaticDimension.Declaration
Swift
@MainActor public var topPadding: CGFloat { get set } -
Clear spacing preserved below the view. Should be used to set footer spacing, when the table view’s footer height is
UITableView.automaticDimension.Declaration
Swift
@MainActor public var bottomPadding: CGFloat { get set } -
The style of selected header.
.default,.gray: both are the regular selection style with gray selected background color..none: none selected background color..blue: not supported.
Declaration
Swift
@MainActor open var selectionStyle: UITableViewCellSelectionStyle
-
The set of edges of the view, which should display a separator line.
Defaults to
.none.Important
Only top and bottom edges support separator lines. Options.leftand.rightwill be ignored.view.separators = .topDeclaration
Swift
@MainActor open var borders: UIRectEdge { get set } -
Sets background color of the header content for the normal and highlighted states.
Declaration
Swift
@MainActor public func setBackgroundColor(_ color: UIColor, forState state: UIControlState = .normal)Parameters
colorset to header content
backgroundColorstatethe UIControlState for which to set the color. Can be either .normal or .highlighted