title: What does MAX do in Objec-C/cocos2d?
body: <p>Example:</p>
  
  <pre><code>CGSize winSize = [[CCDirector sharedDirector] winSize];
  int x = MAX(position.x, winSize.width /2);
      int y = MAX(position.y, winSize.height /2);
      x = MIN(x, (_tileMap.mapSize.width * _tileMap.tileSize.width)
              - winSize.width /2);
      y = MIN(y, (_tileMap.mapSize.height *_tileMap.tileSize.height)
              -winSize.height/2);
      CGPoint actualPosition = ccp(x, y);
  
      CGPoint centerOfView = ccp(winSize.width/2, winSize.height/2);
      self.position = centerOfView;
  </code></pre>
  
  <p>Note the MAX which is defined in NSObject. I am still hazy what it does. I tried looking it up in the text documentation but got no relevant result. </p>
  
  <p>Similarly, does ccp just take two coordinates and save them into one point?</p>
  
  <p>E.G.</p>
  
  <pre><code>CGPoint centerOfView = ccp(winSize.width/2, winSize.height/2);
  </code></pre>
  
  <p>Thanks!</p>