title: iOS UIButton scale animation
body: <p>i'm working on a UIButton animation where it moves along x-axis while it scales to its original size from the initial size. when i tried the code below it doesnt move to the point where it should go and doesn't scale up to its original size.</p>
  
  <p>this is my code for initializing the button:</p>
  
  <pre><code> _testBtn1.layer.anchorPoint = CGPointMake(0.5f, 0.5f);
  scaleBtn = CGAffineTransformMakeScale(0.2, 0.2);
  [_testBtn1 setTransform: scaleBtn];
  </code></pre>
  
  <p>and this is my code for the moving/translation and scaling:</p>
  
  <pre><code>CGAffineTransform translate = CGAffineTransformMakeTranslation(50.0f, 0.0f);
  CGAffineTransform animate = CGAffineTransformConcat(scaleBtn, translate);
  [_testBtn1 setTransform:animate];
  </code></pre>
  
  <p>any help, suggestion, advice will be appreciated. i'm new to iOS..thanks!</p>