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

Add support for individual UICollectionViewCell sizing #177

Merged
merged 3 commits into from
Jan 15, 2020

Conversation

ronaldsmartin
Copy link
Contributor

Changes in this pull request

Issue fixed: #49

This introduces a new property itemSize to CollectionCellViewModel so that individual cells can be sized when collection views are used with flow layouts. Semantics mirror the equivalent rowHeight property used for TableCellViewModel.

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.
  • I have reviewed the contributing guide

@ronaldsmartin ronaldsmartin merged commit e2724ab into master Jan 15, 2020
@ronaldsmartin ronaldsmartin deleted the ronald/uicollectionview-cellsizing branch January 15, 2020 23:22
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.

Support collection view dynamic cell sizing
2 participants