Get lat/long pair from street address

Pass a street address and get a geocoded lat/lon back.

func findCoordinate(from address: String) {
    guard let currentLocation = mapView.userLocation?.coordinate else {
        return
    }

    let request = TGSearchRequest(singleLine: address, location: currentLocation, searchExtent: nil, suggestionKey: nil)

    TGFindService.search(with: request) { (response) in
        if let coordinate = response.results.first?.location {
            // Coordinate found!
        }
    }
}
- (void)findCoordinateFromAddress:(nonnull NSString *)address {
    MGLUserLocation *currentLocation = self.mapView.userLocation;
    if (currentLocation == nil) {
        return;
    }

    TGSearchRequest *request = [TGSearchRequest.alloc initWithSingleLine:address location:currentLocation.coordinate searchExtent:nil suggestionKey:nil];

    [TGFindService searchWithRequest:request completionHandler:^(TGSearchResponse * _Nonnull response) {
        TGSearchResult *result = response.results.firstObject;
        if (result != nil) {
            CLLocationCoordinate2D coordinate = result.location;
            // Coordinate found!
        }
    }];
}
Check out the iOS Reference App to see this example in action.

Look for example 204 in the app.