Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Layout invalidation API #499

Closed
wants to merge 4 commits into from
Closed

Layout invalidation API #499

wants to merge 4 commits into from

Conversation

rnystrom
Copy link
Contributor

@rnystrom rnystrom commented Feb 20, 2017

Changes in this pull request

Adding a new layout-invalidation API, telling the layout object to query and rebuild the layout for all items in the section controller. This works with UICollectionViewFlowLayout and should work with other custom layouts (including our own).

Issue fixed: #360, #459

Checklist

  • All tests pass. Demo project builds and runs.
  • I added tests, an experiment, or detailed why my change isn't tested.
  • I added an entry to the CHANGELOG.md for any breaking changes, enhancements, or bug fixes.

@rnystrom rnystrom added this to the 3.0.0 milestone Feb 20, 2017
@facebook-github-bot
Copy link
Contributor

@rnystrom updated the pull request - view changes

@rnystrom
Copy link
Contributor Author

Example animation action: https://twitter.com/_ryannystrom/status/833784821344325632/photo/1

Using UIView spring API, cc @iostriz

@facebook-github-bot
Copy link
Contributor

@rnystrom has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@rnystrom
Copy link
Contributor Author

Importing for some internal review

@facebook-github-bot
Copy link
Contributor

@rnystrom updated the pull request - view changes - changes since last import

@facebook-github-bot
Copy link
Contributor

@rnystrom has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@PhilCai1993
Copy link
Contributor

Awesome!

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

Successfully merging this pull request may close these issues.

IGListCollectionContext API to invalidate layout of a section controller
3 participants