You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2020. It is now read-only.
I think it would be nice to make this class open instead of public. This way we will be able to create subclasses the same way like we do for cell adapters. Now we need to have this function in our module.
func createHeader(model: SectionLoaderHeaderViewModel) -> TableHeaderFooterProtocol {
let header = TableSectionView<SectionLoaderHeaderView>()
header.on.height = { _ in
return 48.0
}
header.on.dequeue = { context in
context.view?.configure(with: model)
}
return header
}
I think it would be nice to make this class
openinstead ofpublic. This way we will be able to create subclasses the same way like we do for cell adapters. Now we need to have this function in our module.