title: how come I replace a CALayer's position implicit animation and it still kicks in just before my own?
body: <p>I'm doing something like this:</p>
  
  <pre><code>  CABasicAnimation* translateA = [CABasicAnimation animation];
    translateA.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
    translateA.fillMode = kCAFillModeBoth;
    translateA.duration = 1;
  
    CALayer* nextLayer = &lt;some layer...&gt;
    [nextLayer addAnimation:translateA forKey:@"position.y"];
    newPos = nextLayer.position;
    newPos.y += someDelta;
    nextLayer.position = newPos;
  </code></pre>
  
  <p>And what happens is I see the layer almost "jump" to its final position and then my animation kicks in. My guess is the "almost jump" actually is the original implied animation for "position" (which is very short in duration). I also tried replacing for position instead of position.y and also tried replacing the whole actions dictionary in the layer (just to add this animation). But I always get the same result.</p>
  
  <p>How would I go about it so that effectively I only see the layer translate for 1 sec.?</p>