Title / Description
Code -(void) serviceServerResponse:(NSString*) jsonResponse { GeoCodingJsonParser* jsonParser = [[[GeoCodingJsonParser alloc] init] autorelease]; NSArray* objects = [jsonParser fillLocationsArray:jsonResponse]; NSLog(@" serviceServerResponse : response = %@ ",jsonResponse); if([objects count]>0) { Location* currentLoc = [objects objectAtIndex:0]; NSLog(@"MInfoCtrl : serviceServerResponse : %@, %@, %@, %@, %@, %@, %@, %@, %@,%@",currentLoc.houseNumber,currentLoc.strName,currentLoc.road,currentLoc.city,currentLoc.strDesc,currentLoc.postcode,currentLoc.strID,currentLoc.strPhotoName,currentLoc.strTag,currentLoc.strURL); NSLog(@"MInfoCtrl : serviceServerResponse : lat : %f, lon : %f, lat : %f, lon :%f",currentLoc.coordinate.latitude,currentLoc.coordinate.longitude,currentLoc.fLatitude,currentLoc.fLongitude); } }
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code