How do you test if an NSString is empty? or all whitespace or nil? with a single method call?
Should be easier:
if (![[string stringByReplacingOccurencesOfString:@" " withString:@""] length]) { NSLog(@"This string is empty"); }