I can't seem to append a string from arrayOne into arrayTwo. It's a very simple problem and I have Googled around and have tried different examples that I found below. Does anyone see the obvious issue here?
[_arrayTwo addObject:arrayOne[i]]; // int i
[_arrayTwo addObject:[arrayOne objectAtIndex:i]]; // int i
[_arrayTwo addObject:@"Test"]; // I can't even add a literal string
NSString *tempString = [arrayOne objectAtIndex:i];
[arrayTwo addObject:tempString];
NSLog Output:
NSLog(@"%@", _imageArray); // Result is "(null)"
Additional Notes:
- arrayOne is healthy (contains NSString values)
- Both arrays are NSMutableArray (declared as properties in the .h)