How to replace an object in an NSMutableArray at a given index with a new object September 4, 2023 by Tarik This does the trick: [myMutableArray replaceObjectAtIndex:index withObject:newObject];