SYNParallaxScrollObserver is a class that observes the content offset of one scrollview and applies a parallaxed version of the offset to another scrollview.
Note: This library doesn't apply the blur shown in the screenshots but the example project shows how it can be done.
To run the example project; clone the repo, and run
pod install from the Project directory first.
Using in a project can be done with the following code.
self.parallaxObserver = [[SYNParallaxScrollObserver alloc] initWithObservedScrollView:self.observed parallaxedScrollView:self.parallaxed]; [self.parallaxObserver startObserving];
SYNParallaxScrollObserver is available through CocoaPods, to install it simply add the following line to your Podfile:
Sam Corder, email@example.com
SYNParallaxScrollObserver is available under the MIT license. See the LICENSE file for more info.