I am going crazy - these 2 strings are identical but the code comes back as them being different!:
NSLog(@"nearbyAirport %@", nearbyAirport.geocode);
NSLog(@"airportToFind %@", airportToFind.geocode);
//Try and match geocodes. If they are the same then airport is valid
if ([[airportToFind geocode] isEqualToString:[nearbyAirport geocode]])
{
return YES;
}
2010-10-29 15:10:59.808 Name[10658:207] nearbyAirport 6296598
2010-10-29 15:11:00.235 Name[10658:207] airportToFind 6296598