iphone Programming Glossary: selectionanimation
How do you explicitly animate a CALayer's backgroundColor? http://stackoverflow.com/questions/518192/how-do-you-explicitly-animate-a-calayers-backgroundcolor 4 1.0 0.0 0.0 1.0 CGColorRef red CGColorCreate rgbColorspace values CGColorSpaceRelease rgbColorspace CABasicAnimation selectionAnimation CABasicAnimation animationWithKeyPath @ backgroundColor selectionAnimation setDuration 0.5f selectionAnimation setToValue.. rgbColorspace CABasicAnimation selectionAnimation CABasicAnimation animationWithKeyPath @ backgroundColor selectionAnimation setDuration 0.5f selectionAnimation setToValue NSValue valueWithPointer red layer addAnimation selectionAnimation forKey.. selectionAnimation CABasicAnimation animationWithKeyPath @ backgroundColor selectionAnimation setDuration 0.5f selectionAnimation setToValue NSValue valueWithPointer red layer addAnimation selectionAnimation forKey @ selectionAnimation seems to do nothing..
|