Subclass of UIScrollView that, in contrast to UIScrollView, uses a custom timing function to animate setContentOffset.
- (void)setContentOffset:(CGPoint)contentOffset withTimingFunction:(CAMediaTimingFunction *)timingFunction
- (void)setContentOffset:(CGPoint)contentOffset withTimingFunction:(CAMediaTimingFunction *)timingFunction duration:(CFTimeInterval)duration
MOScrollView.m into your
project. The implementation uses a
CADisplayLink, therefore, you
have to add the
QuartzCore library to your project. As the class
uses automatic refernce counting either your project has to use
automatic reference counting as well or you have to enable automatic
reference counting for
MOScrollView.m by adding
compiler flag in Build Phases options.
XCode 4.2 or later and iOS 4 or later as the module uses automatic reference counting.
MOScrollView is released under Modified BSD License.