类方法
+(BOOL)isNullDictionary:(NSDictionary *)dic{
if ( dic.count != 0 && dic != nil &&![dic isKindOfClass:[NSNull class]] ){
return NO;
}else{
return YES;
}
}
+(BOOL)isNullDictionary:(NSDictionary *)dic{
if ( dic.count != 0 && dic != nil &&![dic isKindOfClass:[NSNull class]] ){
return NO;
}else{
return YES;
}
}
本文标题:iOS 字典NSMutableDictionary判空
本文链接:https://www.haomeiwen.com/subject/rxckcqtx.html
网友评论