I have two mutable arrays:
NSMutableArray
array1; [containing 1,2,3,4,5]
NSMutableArray
array2; [containing 9,8,7]
I want to insert array2 values to array1 between 3 and 4, so the result could be:
array1 = [1,2,3,9,8,7,4,5]
Again I want to remove array2 values from array1, so the result could be:
array1 = [1,2,3,4,5]
Please suggest me some best approach to achieve it.
The below links doesn't help: Copy object at specific index of mutable array to the end of another array