Animating a custom property of CALayer subclass
Posted
by jemmons
on Stack Overflow
See other posts from Stack Overflow
or by jemmons
Published on 2010-03-07T06:12:20Z
Indexed on
2010/03/08
0:12 UTC
Read the original article
Hit count: 843
I have a CALayer subclass, MyLayer, that has a NSInteger property called myInt. I'd really like to animate this property via CABasicAnimation, but it seems CABasicAnimation only works on so-called "animatable" properties (bounds, position, etc). Is there something I can override to make my custom myInt property animatable?
© Stack Overflow or respective owner