Hi there! I am currently developing a small application with Core Animation to get some knowledge about how the framework works.
Now I was wondering how I'd be able to perform transformations dynamically on a specific sublayer. I had thought it would be as simple as [somelayer sublayers][0].transform = CATransform3DMake.........;
, but it turned out that was not the case.
So my question is: How can I alter sublayers within the Core Animation Framework?
views:
40answers:
1
A:
I guess you meant [[somelayer sublayers] objectAtIndex:0].transform = CATransform3DMake ...
?
Nikolai Ruhe
2010-01-10 16:13:09
Ouch, yes that's what I was looking for.I had completely overlooked "objectAtIndex:".Thank you!
StevenR
2010-01-10 16:46:49