I have an NSMutableArray with 14 indexes acting as a global NSArray, lets call it 'A'. In each of these indexes I have a sub-array (therefore I have 14 sub-arrays within 'A'). These arrays then form the data for my UITableViews.
If I check with the server and download a new sub-array (on a background thread) lets call it 'B' and want to replace one of the arrays in 'A' (on the main thread), is it safe to be reading from one index within 'A' whilst concurrently rewriting a different array at a different index (I emphasise it will never be the same index)? Will it cause any memory issues?
My knowledge of how memory allocation and pointers work is limited and I can't seem to find information on this.