Subarray by NSMutableArray

I have an NSMutableArray with many objects. Can I extract a subarray from the range of indices 'i' to 'j' directly? Yes, I know that I can make a loop and use objectAtIndex: x and extract each object to a new one.

I need to call a method whose input is an array, and you want to use this array only for checking the data.

+6
source share
1 answer
+19
source

Source: https://habr.com/ru/post/903841/


All Articles