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
View
Declaration
Swift
public init(model: View.Model, height: CGFloat? = nil)
Parameters
model
View.Model
height
CGFloat?
-
Returns a configured
UIView
or nilNote
Subclasses must implement this method
Declaration
Swift
public func headerView(forTableView tableView: UITableView) -> UIView?
Parameters
tableView
UITableView
Return Value
UIView
?