"; businessName = "\U6e5b\U6c5f\U9e2...">
美文网首页
防止字典value为空崩溃

防止字典value为空崩溃

作者: TUNIANL | 来源:发表于2017-01-11 13:30 被阅读0次

    {

    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"];

    相关文章

      网友评论

          本文标题:防止字典value为空崩溃

          本文链接:https://www.haomeiwen.com/subject/dnxcbttx.html