I have the function below that validates the return of another function (function searchPlaces that returns NSString). When I run it, it seems that the if clause is not bein
You should use isEqualToString: method of NSString to check for equality of strings. == operator does a pointer comparison and sometimes it will return NO although the contents of the strings are the same.