在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
NSManagedObject* object=[self.listDataobjectAtIndex:i]; NSString* orderby = [object valueForKey:@"orderby"]; NSLog(@"orderby::%d",orderby.length==0); //可以 NSLog(@"orderby::%d",[orderby isEqualToString:@""]); //不可以 NSLog(@"orderby::%d",[orderby isEqual:Nil]); //不可以 NSLog(@"orderby::%d",!orderby); //可以 |
请发表评论