Skip to content

Improve collection supplementary view support #55

Description

@jessesquires

CollectionViewModel.SectionModel is unnecessarily limited to:

let cellViewModels: [CollectionViewCellViewModel]?
let headerViewModel: CollectionViewSupplementaryViewModel?
let footerViewModel: CollectionViewSupplementaryViewModel?

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions