title: how to set anchor point of view for pinch zoom (GMGridView)
body: <p>I am doing research on "Solar" app for learning purpose. I noticed a tile can be zoomed using pinch gesture. The way it was zooming clearly showed that had set anchor point of uiview. </p>
  
  <p>you may see its video here  <a href="http://www.youtube.com/watch?v=FfgWkAuLvng" rel="nofollow">http://www.youtube.com/watch?v=FfgWkAuLvng</a></p>
  
  <p>To achieve the same, I downloaded GMGridView code. I tried to set the anchor point to get the same output as was in Solar app. </p>
  
  <p>The problem i am facing is, On first time pinch zoom I can't get it zoomed at anchor point, but rest of the times. I couldn't find why its not zooming from anchor point for first time. Please help me. </p>
  
  <p>I modified following method as</p>
  
  <pre><code>- (void)pinchGestureUpdated:(UIPinchGestureRecognizer *)pinchGesture
  </code></pre>
  
  <p>I modified the begin state of gesture recognizer as </p>
  
  <pre><code> case UIGestureRecognizerStateBegan:
          {
              [self transformingGestureDidBeginWithGesture:pinchGesture];
              _transformingItem.contentView.layer.anchorPoint = CGPointMake(0,0.5);
              break;
          }
  </code></pre>