我如何计算“账单”中有多少物品?
bills = (
{
id = 1;
name = "Cursus Nibh Venenatis";
value = "875.24";
},
{
id = 2;
name = "Elit Fusce";
value = "254.02";
}
);
我是这样数的:
NSUInteger keyCount = [resultsDictionary count];
NSLog(@"%i", keyCount);
谢谢!