Skip to content

Instantly share code, notes, and snippets.

@snowleung
Created December 14, 2012 16:04
Show Gist options
  • Select an option

  • Save snowleung/4286512 to your computer and use it in GitHub Desktop.

Select an option

Save snowleung/4286512 to your computer and use it in GitHub Desktop.
decelerationRate
CGFloat decelerationRate = UIScrollViewDecelerationRateFast +(UIScrollViewDecelerationRateNormal - UIScrollViewDecelerationRateFast) * INT16_MAX;
[_tableView setValue:[NSValue valueWithCGSize:CGSizeMake(decelerationRate,decelerationRate)] forKey:@"_decelerationFactor"];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment