I have the following block of codes in my program.
for(int k=0;k<reqroom.count;k++)
{
NSString *rent=[roomRent objectAtIndex:k];
NSString *tax=[roomTax objectAtIndex:k];
NSString *no=[textvaluearray objectAtIndex:k];
NSDecimalNumber *rentd=[NSDecimalNumber decimalNumberWithString:rent];
}
//here roomRent,roomTax and textvaluearray are NSMutableArrays
This is the error that I am receiving:
'NSInvalidArgumentException', reason: '-[__NSArrayI length]: unrecognized selector sent to instance 0x81b2ce0'
Thanks in advance.