Tue, Mar 24, 2015
A few Core Animation Gotchas that got me last night while giving a demo to my students.
- The top level layer in a CALayer hierarchy does not animate its property changes. This is because animation must exist in a container.
- Core Animation cannot animate a nil from or to value. Some CALayer properties are nil by default. (Like backgroundColor.)