How to set a color for CABasicAnimation?

Viewed 7257

CABasicAnimation has the toValue property which expects an id. But Quartz Core doesn't work with UIColor, it wants a CGColor struct instead. How would I supply a color to a CABasicAnimation?

1 Answers
Related