maybe duplicated with some question, but I can't find them here.
Asked
Active
Viewed 1,938 times
2 Answers
2
- CAAnimation is an abstract superclass using CAMediaTiming protocol that can regulate the time,including duration, speed, repetition;also using CAAction protocol, display animation by way of response actions.
CATransaction is a derived class of CAAnimation.It can modify properties of multiple layers at same time. It has two types of transactions:
a. explicit transaction, Submitting animation by invoking "begin","commit" explicitly,Reset duration.Transactions can be nesting;
b. implicit transaction. In addition to explicit transaction, any modifications for CALayer properties are implicit transaction, so the transaction will be submitted in the run-loop.
Hope it helps u.

Lal Krishna
- 15,485
- 6
- 64
- 84

Yuanhai Shi
- 333
- 1
- 13
-
6CATransaction is actually a subclass of NSObject. – hkatz Aug 17 '14 at 16:22
0
There are couple of good links to understand the difference,
http://zearfoss.wordpress.com/2011/02/24/core-animation-catransaction-protip/

Mobile Developer iOS Android
- 6,005
- 5
- 34
- 58