scrolling using UIScrollview in a particaular path?

I need to implement scrolling like http://joelb.me/scrollpath/ Is it possible to customize UIScrollView like in the link or any other way to implement? Edit : That is instead of moving scrollview linearly while scrolling, I want the scrollview to move along a particular path(like Bazier curve) while scrolling

Thanks, Chandan

Answers


I have done customized scrolling in scrollViewDidScroll, that is instead of changing y linearly i have changed y like bazier path using equation.

http://chandanshetty01.blogspot.in/2012/07/uiscrollview-scrolling-in-non-linear.html


You can achieve this using the CAKeyframeAnimation and animating the scrollview offset (on a large scrollview canvas) for particular key paths at fixed key times.

You might want to dig in the CAKeyframeAnimation Class Reference.

Here's a small tutorial on how custom key paths can be achieved in an animation . http://bit.ly/L05Xsg You could do it the similar way by animating the contentOffset property of a large UIScrollView.


Need Your Help

accessing list items by selenium web driver and storing them to list

selenium

I want to store element one, element two...as mentioned below in a list by web driver...find the page source code

Cannot implicitly convert type 'void' to 'object' MVC cshtml method call

asp.net-mvc razor signalr

I'm having some some problem calling a simple method from a cshtml file in a Mvc-Project. This is the code that is givnng me the error: