防止字典value为空崩溃
2017-01-11 本文已影响0人
TUNIANL
{
advertise = "<null>";
businessName = "\U6e5b\U6c5f\U9e21";
businessPhone = "<null>";
busniessAddress = "<null>";
picList =(
);
synopsis = "<null>";
}
//防止字典value为空崩溃
self.nameField.text=[[self.aponsorDataobjectForKey:@"businessName"]class] == [NSNullclass]?@"暂无资料":[self.aponsorDataobjectForKey:@"businessName"];