這是我的代碼從一個NSArray中的一部分:計數OCCURENCES
2012-06-03 16:03:45.140 test[4178:f803] data (
{
receiver = david;
sender = james;
idMessage = 248;
},
{
receiver = david;
sender = james;
idMessage = 247;
},
{
receiver = david;
sender = Marc;
idMessage = 246;
}
)
我想通過發送者發送的消息數到接收器或類似的東西
james = 2;
marc = 1;
THX爲閱讀
它完美的thx – XcodeMania