title: CAlayer transform on sublayers flickers with gestures (ipad)
body: <p>I have a CALayer that contains few other subLayers (CATextLayer actually)</p>
  
  <p>I want to apply some transformation on that layer when user do usual gesture on the ipad but it doesn't seem to be working properly. The goal of using the CALayer was to apply the transformation only to that Layer so that all of my sub-textLayer would be affected at the same time with the same transformation.</p>
  
  <p>What's happening is that the transformation seem to flicker between previous and current position. I don't really get what could be the problem... When I do a 2 fingers panning gesture for example, CaTextLayer positions flickers all the time during my gesture and at the end they are all correctly placed at their new translated position. </p>
  
  <p>So everything seems to work fine except that flickering thing that is bothering me a lot.</p>
  
  <p>Do I need to set some property I don't know about ? I'm thinking it might have something to do with bounds and frame too....</p>
  
  <p><strong>Here's how I create my CATextLayer</strong> (This is done only once at creation and it works properly):</p>
  
  <pre><code>_textString = [[NSString alloc] initWithString: text];   
  _position = position;
  
  attributedTextLayer_ = [[CATextLayer alloc] init];
  attributedTextLayer_.bounds = frameSize;
  
  //.. Set the font 
  
  attributedTextLayer_.string = attrString;
  attributedTextLayer_.wrapped = YES;
  
  CFRange fitRange;
  CGRect textDisplayRect = CGRectInset(attributedTextLayer_.bounds, 10.f, 10.f);
  CGSize recommendedSize = [self suggestSizeAndFitRange:&amp;fitRange 
                                        forAttributedString:attrString 
                                                  usingSize:textDisplayRect.size];
  
  [attributedTextLayer_ setValue:[NSValue valueWithCGSize:recommendedSize] forKeyPath:@"bounds.size"];
  attributedTextLayer_.position = _position;
  </code></pre>
  
  <p><strong>This is how I add them to my Super CALayer</strong></p>
  
  <pre><code>[_layerMgr addSublayer:t.attributedTextLayer_];
  
  [[_drawDelegate UI_GetViewController].view.layer addSublayer:_layerMgr];
  </code></pre>
  
  <p><strong>And here's how I apply my transformation :</strong></p>
  
  <blockquote>
    <p>_layerMgr.transform = CATransform3DMakeAffineTransform(_transform);</p>
  </blockquote>