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

Cells cache #435

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Cells cache #435

wants to merge 2 commits into from

Conversation

petalvlad
Copy link

I've noticed that scrolling is choppy and not smooth for forms which consist of custom cells with not trivial layout logic and AutoLayout enabled. The reason for that is calling update: each time cell is going to be displayed.

As far as FXForm doesn't use cells recycling, I suggest very dumb but simple solution - just cache already created cells into NSCache and flush this cache when needed. This is not by default and only enabled if a user set cacheCells to YES.

Looks like this also addresses #314.

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.

1 participant