SYNScrollViewObserverEffects 0.1.3

SYNScrollViewObserverEffects 0.1.3

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total128,746
Week0
Month0

Installs

Apps28
Test Targets35
powered by Segment

GitHub

Stars15
Watchers1
Forks1
Issues0
Contributors1
Pull Requests1

Code

Files10
LOCLines of Code 444



SYNScrollViewObserverEffects is a set of classes that observe the content offset of one scrollview and generate different effects. The primary goal was to be unobtrussive and able to react to changes in a scroll view without having to be the delegate. Effects included:

  1. Parallax scrolling to show depth of UI.
  2. Enlarge a view when the scrollview is pulled down too far.
  3. An image blur of a UIImageView image.
  4. An effect to show and hide the a Navigation bar based on scrolling.

Alt text Alt text

Note: The blur effect in this library is requires iOS 7+. All else should work with at least iOS 6.

Usage

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];

Requirements

To use all of the effects iOS 7 is required.

Installation

Author

Sam Corder, [email protected] @SamCorder

License

SYNScrollViewObserverEffects is available under the MIT license. See the LICENSE file for more info.