title: Use of Colons In A Method
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9056166/methods-with-multiple-arguments-in-objective-c">Methods with multiple arguments in objective C</a>  </p>
  </blockquote>
  
  
  
  <p>I'm very new to Objective-C I was learning the language by following tutorials online, In one particular tutorial colons(:) used after one another in a method header. </p>
  
  <p>Here's what I'm talking about: </p>
  
  <pre><code>- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
  </code></pre>
  
  <p>Can anyone tell me what this method's header represents?</p>
  
  <p>Here's the tutorial: <a href="http://www.appcoda.com/how-to-get-current-location-iphone-user/" rel="nofollow noreferrer">http://www.appcoda.com/how-to-get-current-location-iphone-user/</a></p>
  
  <p>I'm a C++ programmer so if you can explain it to me by writing the same code in C++ that would be really helpful.</p>
  
  <p>Thanks!</p>