Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Specify range of items in visible rect for animation #132

Open
@KevinDoughty

Description

@KevinDoughty

To animate items along the scroll axis, while scrolling, there is a need to specify a range of present items other than merely those that intersect the visible rect. I am a proponent of the data source pattern, but I know of no implementations sufficient for this, and I hope you will consider adding this feature. In my own javascript implementation I created a data source method, rangeOfItemsInRect. UITableView fails in this regard, as you can see in this video with exaggerated timing to show the effect:

https://www.youtube.com/watch?v=C1p9qEuMNns

This is not the only use, however. Animating reflow of a grid layout when resizing the viewport from wide to narrow would instantly change the non-animated visible range, which would need to be expanded to include items still animating, much like in the video from this comment:

#64 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions