HeaderFooterProvider
public class HeaderFooterProvider<View>: SectionHeaderFooterProvider
where View: Configurable & ReusableView
The absctract class to provide a section header or footer view
Warning:
Using this class as is will cause a CRASH
-
Undocumented
Declaration
Swift
public let height: CGFloat? -
Constructor
The model is passed here should be used to configure the
ViewDeclaration
Swift
public init(model: View.Model, height: CGFloat? = nil)Parameters
modelView.Model
heightCGFloat?
-
Returns a configured
UIViewor nilNote
Subclasses must implement this method
Declaration
Swift
public func headerView(forTableView tableView: UITableView) -> UIView?Parameters
tableViewUITableViewReturn Value
UIView?
HeaderFooterProvider Class Reference