Skip to content

Replace UICollectionViewLayout Subclassing with ASDK-Synced Layout Object #167

Open
@garrettmoon

Description

@garrettmoon

From @Adlai-Holler on December 15, 2016 20:1

Right now the user subclasses UICollectionViewLayout and talks directly to the collection view. This brings a number of issues:

  • If the layout talks to the data source/delegate, it may be out-of-date while edit operations propagate through the data controller.
  • We can't know the layout for nodes until we insert them into the UICollectionView.
  • We have to measure all nodes in advance, even if the layout doesn't care!
  • It would be nice to do the layout off-main!

I've thought through the requirements a bit, I'll add them into this task later.

Copied from original issue: facebookarchive/AsyncDisplayKit#2780

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions