0

maybe duplicated with some question, but I can't find them here.

mfaani
  • 33,269
  • 19
  • 164
  • 293
CarmeloS
  • 7,868
  • 8
  • 56
  • 103

2 Answers2

2
  1. 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.
  2. 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