Subarray with range

后端 未结 3 824
南笙
南笙 2021-01-26 11:31

Im trying to split an array of objects into smaller arrays containing 32 objects. With the remaining about being put into the array at the end.

This is the code I\'m usi

3条回答
  •  孤城傲影
    2021-01-26 11:53

    A NSRange indicates the starting point and the number of entries to select from that point on.. So it actually means "Starting point 32, select 63 items from that point on", which will exceed your 83 entries (32*+*63)

提交回复
热议问题