Skip to content

Use self-sizing collection view cells in the example - #285

Open
heoblitz wants to merge 4 commits into
masterfrom
improvement/list_example
Open

Use self-sizing collection view cells in the example#285
heoblitz wants to merge 4 commits into
masterfrom
improvement/list_example

Conversation

@heoblitz

@heoblitz heoblitz commented Aug 8, 2026

Copy link
Copy Markdown
Collaborator

What is this PR for?

Remove the collection view’s template cell and use UIKit self-sizing instead.

Changes

  • Size HouseCell with preferredLayoutAttributesFitting(_:)
  • Use FlexLayout for the final fitting size
  • Remove unused example code

Tests

SPM Example build & simulator run ✅

@heoblitz
heoblitz marked this pull request as ready for review August 8, 2026 10:38
@heoblitz
heoblitz requested a review from lucdion August 12, 2026 06:59

@lucdion lucdion left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect 👌

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants