Find Jobs
Hire Freelancers

Function to update addresses and add lat long in Swift

$10-30 USD

Geschlossen
Veröffentlicht vor etwa 7 Jahren

$10-30 USD

Bezahlt bei Lieferung
In an OS X Swift 3 app I have a function that reads in a data file on location names and addresses. About 2000 items. I'd like to run through the list, call let geocoder = CLGeocoder() [login to view URL](address, completionHandler: {(placemarks, error) and add the returned location (address and lat long) to each entry in the original list. Below is my current code. I'm not sure how to handle getting the returned values back to the original list and also handling that I there are some limits on how often I can call this function. let locations = ReadCSV() let address = locations[1].MailAddr1 + ", " + locations[1].MailCity + ", " + locations[1].MailState + ", " + locations[1].MailZip + ", " + locations[1].MailCountry let geocoder = CLGeocoder() [login to view URL](address, completionHandler: {(placemarks, error) -> Void in if((error) != nil){ print("Error", error) } if let placemark: CLPlacemark = placemarks?.first { let name = [login to view URL] let address = [login to view URL] let locality = [login to view URL] let zip = [login to view URL] let subLocality = [login to view URL] let country = [login to view URL] let coordinates:CLLocationCoordinate2D = [login to view URL]!.coordinate let locataion: CLLocation = [login to view URL]! } })
Projekt-ID: 13485249

Über das Projekt

7 Vorschläge
Remote Projekt
Aktiv vor 7 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
7 Freelancer bieten im Durchschnitt $44 USD für diesen Auftrag
Avatar des Nutzers
Hi, my name is Kevin. I have years experienced in mobile app and desktop app developing I'll give you the expected quality services and products along with your satisfaction. So why shouldn't we have a desirable collaborating? Regard, Kevin.
$61 USD in 1 Tag
5,0 (19 Bewertungen)
4,6
4,6
Avatar des Nutzers
Hi, Thanks for providing an opportunity to apply for this job. I am interested to work with you for this project. Kindly let me know your convenient time for further discussion. Looking forward to hear from you and thanks for reading my proposal.
$55 USD in 1 Tag
5,0 (10 Bewertungen)
4,4
4,4
Avatar des Nutzers
Dear Sir, Don't worry about your job and trust me. I am very qualified for your job and I need my opportunity to work with you. My opportunity will be provided by you exactly, I am very happy about this opportunity. Let's discuss about your job. I am ready for you. If you select me, I will do my best for your job. I can start work immediately. Thank you so much. I hope we will be in our interview asap. Best.
$166 USD in 1 Tag
5,0 (14 Bewertungen)
3,9
3,9
Avatar des Nutzers
i have build application name vheelz using google map which available on app store.
$25 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED STATES
Bonita Springs, United States
5,0
131
Zahlungsmethode verifiziert
Mitglied seit Okt. 25, 2004

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.