Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9202491
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T23:16:15+00:00 2026-06-17T23:16:15+00:00

Possible Duplicate: Methods with multiple arguments in objective C I’m very new to Objective-C

  • 0

Possible Duplicate:
Methods with multiple arguments in objective C

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.

Here’s what I’m talking about:

- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation

Can anyone tell me what this method’s header represents?

Here’s the tutorial: http://www.appcoda.com/how-to-get-current-location-iphone-user/

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.

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T23:16:16+00:00Added an answer on June 17, 2026 at 11:16 pm
    - (void)locationManager:(CLLocationManager *)manager 
        didUpdateToLocation:(CLLocation *)newLocation 
               fromLocation:(CLLocation *)oldLocation;
    

    The above method is taking 3 aruguments as manager, newLocation, oldLocation of type CLLocationManager, CLLocation, CLLocation respectively.

    In C++ or C, it would be something like this :

    void locationManager(CLLocationManager *manager, CLLocation *newLocation, CLLocation *oldLocation);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Bind multiple events to jQuery 'live' method I have the following function:
Possible Duplicate: How to retrieve user's current city name? using the following methods i
Possible Duplicate: Which is faster: multiple single INSERTs or one multiple-row INSERT? While going
Possible Duplicate: Generic methods and multiple constraints I need a generic function that has
Possible Duplicate: Overloading member methods with typedef aliases as parameters I have following method
Possible Duplicate: Returning false from Equals methods without Overriding One of my colleague asked
Possible Duplicate: Best way to define private methods for a class in Objective-C Hi,
Possible Duplicate: thread with multiple parameters How does one thread a sub with two
Possible Duplicate: Properties vs Methods I'm a beginner C# programmer and recently discovered how
Possible Duplicate: Properties vs Methods For many situations it is obvious whether something should

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.