I have got a NSMutableArray that is structured as follow:
{
{
AccountNumber:Test1
Type: Electricity
}
{
AccountNumber:Test2
Type: Water
}
{
AccountNumber:Test3
Type: Water
}
}
How to print out the account number that are in Water type?
What I have tried is as follow:
- (NSUInteger)indexOfObjectIdenticalTo:(id)data{ return data; }
But I didn't understand how to do it.