In Objective C, one could do the following to check for strings:
if ([myString isEqualToString:@\"\"]) { NSLog(@\"m
To do the nil check and length simultaneously Swift 2.0 and iOS 9 onwards you could use
if(yourString?.characters.count > 0){}