read
 NSString *myString = ...  
bool isNull = myString == nil || [@"" isEqualToString:myString];


Now isNull variable have true if the string myString is null otherwise will have false.

Blog Logo

Daniel Gomez Rico


Published

Image

MakinGIANTS

The findings and tips records of an Android-iOS-TheWholeShabang group

Back to Overview