Where's kinetic scrolling code in CCTableView

Thers’s only a few lines of code in CCTableView,but i can’t find any code about the kinetic scrolling(when your finger off the screen,it is still scrolling),i want to learn it well.Anybody knows it?

Hi nihangcheng,

Maybe you can try to find those code in CCScrollView.h/.cpp, CCTableViewCell.h/.cpp, or ScrollView and ScrollViewDelegate.

And here is a web page that may help you (if you can read JavaScript code).
http://www.macresearch.org/dynamics-scrolling

PS. If you don’t know about JS, Google may help you. Just type `scrolling algorithm’ and search.

Shiqing Luu wrote:

Hi nihangcheng,

Maybe you can try to find those code in CCScrollView.h/.cpp, CCTableViewCell.h/.cpp, or ScrollView and ScrollViewDelegate.

And here is a web page that may help you (if you can read JavaScript code).
http://www.macresearch.org/dynamics-scrolling

PS. If you don’t know about JS, Google may help you. Just type `scrolling algorithm’ and search.

Thank you very much.You give me a way to learn it deeper