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

[QUESTION] Scrolling is relatively glitchy #72

Closed
avighnash opened this issue Jan 17, 2018 · 4 comments
Closed

[QUESTION] Scrolling is relatively glitchy #72

avighnash opened this issue Jan 17, 2018 · 4 comments
Labels

Comments

@avighnash
Copy link

I noticed that while scrolling through a UIView with a lot of cells, the line seperators flicker and it doesn't look to smooth. Would it be possible to make scrolling smoother?

@maxsokolov
Copy link
Owner

@avighnash hello!

So let's find out the cause. Do you have a difficult layout in your cells (may be complex autolayout)? If so, I suggest to simplify it and perform some tests to see if it affects scrolling.

You could check an example project, increase an amount of cells there and see that it works pretty well.

@avighnash
Copy link
Author

The cells have an extremely simple layout, just a text label. Another quick question, what is the advantage of using TableSections over just using rows? When I first saw that I thought it would be be one of those header cells that can be found in the settings app which groups a bunch of cells.

@maxsokolov
Copy link
Owner

The cells have an extremely simple layout

Can you reproduce this issue in this demo project? If you are not, can you attach your simple demo with issue here? In your case It's difficult to help without seeing any code.

what is the advantage of using TableSections over just using rows

It's not the advantage, table view contains sections which contains rows (you can't have table views without sections, there are always at least one section). Sections can have headers and footers additionally (as you can see in the settings app). But you can add rows to TableDirector directly, it automatically creates a section for you.

@avighnash
Copy link
Author

I just tested it on my iPhone 6s, it seems to be an issue with the simulator that I used, not on the phone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants