Made the shadow view a button.
It now masks according to the background image.
Updated example .xib
Still need to work out properties and customisation.
Properties are now properly settable. Updated user defined runtime attributes in the example .xib
Experimenting with animating difference in positioning and blur radius, instead of simply setting it. However, it doesn't seem necessary. Committing this code in case I need to return to it.
Removed animation (perhaps temporarily) as it didn't seem to be effective.
Added MTZTiltReflectionKnob. Works with reasonable performance on latest hardware for a period of time, but needs a lot of improvements, especially on older hardware. Let's fire up Instruments.
Extensions -> Rotate
Changed the motionManager's deviceMotionUpdateInterval to 1/60 for TiltShadowView.
Changed the motionManager's deviceMotionUpdateInterval to 1/60 for TiltHighlightView.
Some slight performance enhancements for MTZTiltReflectionKnob. Considering of decreasing the number of overlay blending modes to just one. I will compare the time to complete DrawRect before and after.
Option #2 for performance testing.