title: NSDictionary to CGPoint
body: <p>I am working on a game, in which i am trying to fire two different types if bullets on single tap and double tap respectively. </p>
  
  <p>Heres what I am doing in my touch began method: </p>
  
  <pre><code>- (void)ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 
  {
      for( UITouch *touch in touches ) 
      {
  
          CGPoint location = [touch locationInView: [touch view]];
          location = [[CCDirector sharedDirector] convertToGL: location];
  
          NSLog(@"TOUCH LOCATION IN TOUCH BEGAN  = (%f , %f)", location.x , location.y);
  
          NSUInteger tapCount = [touch tapCount];
  
          switch (tapCount)
          {
              case 1:
              {
                  NSDictionary * touchloc = [NSDictionary dictionaryWithObject:[NSValue valueWithCGPoint:location] forKey:@"location"];
                  [self performSelector:@selector(startTimer:) withObject:touchloc afterDelay:3];
                  break;
              }   
              case 2:
              {
                  [NSObject cancelPreviousPerformRequestsWithTarget:self selector:@selector(startTimer) object:nil];
                  [self performSelector:@selector(removeBall) withObject:nil afterDelay:1];
                  break;
              }
  
              default:
              {
                  break;
              }
          }
    }
  </code></pre>
  
  <p>Now in my <code>perform selector(startTimer:)</code> I get the co-ordinates of point where I touch in <code>NSPoint</code> (As I am using <code>NSDictionary</code>) 
  All I want to know is.. how we can convert those points to CGPoints.. ?</p>
  
  <p>Any idea how can I do it? </p>
  
  <p>Any help will be truly appreciated. </p>