Just wondering the best way to create a manual array, without using NSMutalbleArray, I have being researching best possible solutions but without an elegant answer, what do you
Array with FIFO manner:
if (mutArr.count == 5) { for (int j = 0; j < 4; j++) { [mutArr exchangeObjectAtIndex:j withObjectAtIndex:j+1]; } [mutArr removeObjectAtIndex:4]; [mutArr addObject:mutDict]; }else{ [mutArr addObject:mutDict]; }