iOS 对于服务器下发数据的判断

{
data = (
{
id = “”;
pCode = “”;
properties = {
charge = {
align = “”;
bold = “”;
color = blue;
content = “1,305,140”;
dataIndex = “”;
flex = “”;
getClass = “”;
hidden = “”;
iconCls = “”;
id = “”;
locked = “”;
tooltip = “”;
width = “”;
xtype = “”;
};

1> 针对 字段值为: “”
[_model.属性 isKindOfClass:[NSNull class]];
2> 针对字段值为: “ ”
[_model.属性 isEqualToString:@”“];

你可能感兴趣的:(iOS 对于服务器下发数据的判断)