Popularity
5.8
Stable
Activity
0.0
Stable
641
23
31

Code Quality Rank: L4
Programming language: Objective-C
License: MIT License
Tags: UI    

NGAParallaxMotion alternatives and similar libraries

Based on the "UI" category.
Alternatively, view NGAParallaxMotion alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of NGAParallaxMotion or a related project?

Add another 'UI' Library

README

NGAParallaxMotion

A tiny category on UIView that allows you to set one property: parallaxIntensity to achieve a parallax effect with UIMotionEffect.

Show the parallax effect in one line

theView.parallaxIntensity = 10;

Positive values make the view appear to extend from the screen. Negative values make the view appear to recess behind the screen.

Interface Builder

Additionally, you can set this property within Interface Builder by editing the "User Defined Runtime Attributes" and adding:

KeyPath           |  Type  | Value
----------------------------------------------
parallaxIntensity | Number |  your depth value

[Interface Builder](img/InterfaceBuilderExample.png "Interface Builder Example")

Examples

On

[](img/on.png)

Off

[](img/off.png)

License

This code is under the MIT license.

Release Notes

1.1

  • Added new direction constraints (Thanks @arunaharsa!)

1.0

  • Initial Release


*Note that all licence references and agreements mentioned in the NGAParallaxMotion README section above are relevant to that project's source code only.