NGAParallaxMotion
NGAParallaxMotion copied to clipboard
A tiny category on UIView that allows you to set one property: "parallaxIntensity" to achieve a parallax effect with UIMotionEffect
strong references from a view to its subviews causes a retain cycle @see https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/MemoryMgmt/Articles/mmPractical.html @see http://www.cocoawithlove.com/2009/07/rules-to-avoid-retain-cycles.html
Currently the parallax effect is stopped by setting the intensity at a 0.0 value. I think this should be great to add start/stop command. Moreover it solve in an elegant...
It seems to crash my app if I try to apply this effect to a cell contentView ... Any idea why ?
"Intensity" as a name is a bit vague and it's not clear if an "intensity" can be negative ( though the value of this variable certainly can be). Suggestions: -...