Skip to content

Cells cache#435

Open
petalvlad wants to merge 2 commits intonicklockwood:masterfrom
petalvlad:master
Open

Cells cache#435
petalvlad wants to merge 2 commits intonicklockwood:masterfrom
petalvlad:master

Conversation

@petalvlad
Copy link
Copy Markdown

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