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

Last cell flashing #6

Open
rusik opened this issue Nov 6, 2013 · 0 comments
Open

Last cell flashing #6

rusik opened this issue Nov 6, 2013 · 0 comments

Comments

@rusik
Copy link

rusik commented Nov 6, 2013

I want to increase "bounce" effect and decrease scrollResistance coefficient from 1500 to 500 (or something near it).
And have found that last cell is flashing a little. It appears a little later than necessary, in a couple of points of space above bottom.

If set settings like this (big line spacing and small scrollResistance coefficient):

    self.minimumInteritemSpacing = 10;
    self.minimumLineSpacing = 50;
    self.itemSize = CGSizeMake(300, 44);
    self.sectionInset = UIEdgeInsetsMake(30, 10, 10, 10);
...
    springBehaviour.length = 0.0f;
    springBehaviour.damping = 0.8f;
    springBehaviour.frequency = 1.0f;
...
    CGFloat scrollResistance = distanceFromTouch / 500;

you can see this behaviour better

This is video showing what I mean
https://cloudup.com/cBqaFANB9ny

Trying to find a solution for two days and have no ideas about it. It repeats with tiling technic and without. And how I found a few seconds ago it repeats randomly from time to time (depends on parameters and your fortune).
And it works only with bottom edge.

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

No branches or pull requests

1 participant