title: how to store CGPoint in array
body: <p>Hi I am trying to store the move points in the <code>NSMutableArray</code> so I have tries like this </p>
  
  <pre><code>-(void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event
  {
  UITouch *move = [[event allTouches] anyObject];
      CGPoint MovePoint = [move locationInView:self.view];
  if (MovePointsArray==NULL) {
          MovePointsArray=[[NSMutableArray alloc]init];
      }
      [MovePointsArray arrayWithObjects:[NSValue valueWithCGPoint:MovePoint]];
  }
  </code></pre>
  
  <p>but this doesn't work how can i store these points in <code>NSMutableArray</code></p>