mochidev/MDSpreadView

Choppy scrolling

Closed this issue · 6 comments

Noticing on the demo the scrolling is choppy even on the simulator. Not sure why this is, but often the screen will seem to jump when scrolling along. Perhaps building cells in Core graphics would help, or maybe its a errant call to layoutSubviews?

It's actually more related to the cell lookup being too expensive during each pass of layoutSubviews. Working on fixing it…

Scrolling should now be much better for very large data sets compared to before. For scrolling performance in general, now depends on Issue #11.

Also depends on #12

Depending on how large your spread view is, and how many (and how large) the cells in it are, you should be able to approach 60 fps on newer devices. If you are still having issues, let me know of the details, as I'm trying to get it working faster!

Scrolling pretty darn fast now.

Thank you :3