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
(Note: These are called CollectionSectionViewModel on master.)
There are two possible approaches for resolving this: we can keep CollectionSectionViewModel as a struct and try to make its API generic for any kind of supplementary view/collection view layout, or we can extract a CollectionSectionViewModel protocol and rename the current implementation to CollectionFlowLayoutSectionViewModel or something. Thoughts?
CollectionViewModel.SectionModel
is unnecessarily limited to:CollectionViews can have arbitrary supplementary views — they are not limited to headers and footers.
(Note:
FlowLayout
is limited to only headers / footers)We should update the model to reflect this.
The text was updated successfully, but these errors were encountered: