• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
CLLocationDistance contents?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CLLocationDistance contents?


  • Subject: CLLocationDistance contents?
  • From: Jacob Rhoden <email@hidden>
  • Date: Fri, 19 Dec 2008 11:14:40 +1100

Hi Guys, I am doing the following to find a distance between two locations:

CLLocation* venueLocation = [[CLLocation alloc] initWithLatitude: venue.latitude longitude:venue.longditude];
CLLocationDistance distance = [venueLocation getDistanceFrom:currentLocation];


Is distance in metres/miles/km? How do I display it on screen in a platform independent way? I cant find any examples in the developer centre thingy.

Thanks
-jacob

-------------------
http://jacobrhoden.com/
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: CLLocationDistance contents?
      • From: David Duncan <email@hidden>
  • Prev by Date: NSData downloaded over socket is bigger than it should be...
  • Next by Date: Re: NSTableView cross-coupling rows when editing strings?
  • Previous by thread: Re: NSData downloaded over socket is bigger than it should be...
  • Next by thread: Re: CLLocationDistance contents?
  • Index(es):
    • Date
    • Thread