I'am trying to learn the best practices of using NSMutableArray implementing int arrays. At first glance it appears that much more code need to be written to manage them relative to other languages like C or JAVA.

I appeal to user experience for two reasons: (i) find out about code writing practices for ios-style int arrays; (ii) find about reasoning why despite the heavy coding these arrays justify themselves vs `int array[7]` in daily practice;

Below is a set of exemplified templates of how one can initialize, allocate, read and write a NSMutableArray implementing integer one-dimensional array in a very generic manner.

```
int arrayIndex;
int arrayValue;

//DECLARE arrayOfInt
@property (atomic, strong)  NSMutableArray *arrayOfInt;

//ALLOCATE AND INITIALIZE arrayOfInt
self.arrayOfInt = [[NSMutableArray alloc] init];

//...fill arrayOfInt (write)  
[self.arrayOfInt addObject: [NSNumber  numberWithInt: arrayValue]];

//... read arrayOfInt
arrayValue = [(NSNumber*)[self.arrayOfInt objectAtIndex: arrayIndex ] intValue];

//...replace arrayOfInt (write)
[self.arrayOfInt replaceObjectAtIndex: arrayIndex withObject: [NSNumber numberWithInt: arrayValue ]]; 

```