I have -(CLLocationCoordinate2D) method, I want to return multiple locations from that method (those locations are using in another method)
my method looks like this,
-(CLLocationCoordinate2D) addressLocation{
- --------
----------
return location;
}
is it possible to return multiple locations (I mean return location1 , return location2 . . ..) ?? please help me
thanks
Add your location objects to an array and return the array instead. e.g.