标签:== || blank space ace class skin har nss
+ (BOOL) isBlankString:(NSString *)string {
if (string == nil || string == NULL) {
return YES;
}
if ([string isKindOfClass:[NSNull class]]) {
return YES;
}
if ([[string stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]] length]==0) {
return YES;
}
return NO;
}
标签:== || blank space ace class skin har nss
原文地址:https://www.cnblogs.com/smileK/p/9523618.html