How to test for a (null) string in Objective C
I wanted to test if a string has a value when it’s returned from Core Data. So I thought, the right way to do this was to see if it’s equal to nothing, like so: if ([myString isEqualToString:@””]) { // should be empty… but may not be } But to my surprise this didn’t work […]