I have java code which looks something like this:
for(int i=0;i<codeWord.length;i++) {
codeWord[i] = cw_bArray;
}
here the codeword is NSDATA & cw_barray is NSMutableArray and in Objective c i am doing
for(int i=0;i<codeword.length;i++) {
[codeword objectAtIndex:i] =[cw_bArray mutableCopy];
}
but it is popping a error like this
Assigning to 'readonly' return result of an objective-c message not allowed