Top "Cllocationcoordinate2d" questions

Initialize a CLLocation object in swift with latitude and longitude

In objective C (I have no experience with it) you can initialize a CLLocation object with latitude and longitude likes …

swift latitude-longitude cllocation cllocationdistance cllocationcoordinate2d
Convert GPS coordinates to a city name / address in Swift

I have a latitude/longitude location that I want to convert to the location name String in Swift. What is …

swift gps cllocation clgeocoder cllocationcoordinate2d
How to convert latitude longitude into CLLocationCoordinate2D

I want to convert lat lon to CLLocationCoordinate2D. self.currentLocation = {.latitude = 0.0, .longitude = 0.0}; This gives me error "Expected expression". What …

objective-c iphone cllocationcoordinate2d
How to get lat and long coordinates from address string

I have a MKMapView that has a UISearchBar on the top, and I want the user to be able to …

mapkit cllocation cllocationcoordinate2d
How to give a location coordinate to plot a point in a map in ios using storyboard?

I am creating a map view in a view controller, using storyboard. When I use the following code. -(void) …

ios mapkit cllocationcoordinate2d
put CLLocationCoordinate2D into CLLocation for Swift

I have a method I want to call however when I get back the center of the map, it is …

ios swift mapkit cllocation cllocationcoordinate2d
Convert String to CLLocationCoordinate2D in swift

using Firebase as my backend, I've got a series of strings that are latitude and longitude coordinates, how can I …

string swift converter cllocation cllocationcoordinate2d
Swift: How can I store coordinates using CLLocationCoordinate2D as a string or an int?

So far, this is the code I have. I'm trying to store the values of locValue.latitude and locValue.longitude …

ios swift swift2 ios9 cllocationcoordinate2d
Accessing Variables outside of a function in swift

Im getting coordinates from , but I'd like to be able to use them outside the Location Manager Function. Is it …

function swift global-variables cllocation cllocationcoordinate2d