开发者

NSMutableArray: writing a smaller array into a larger array at a specified location?

NSMutableArray: writing a smaller array into a larger array at 开发者_高级运维a specified location?

Is there a method or do I need to use a for-loop?

thanks


If you read the NSMutableArray documentation, you'd see the replaceObjectsInRange:withObjectsFromArray: method.


I think you're looking for either insertObjects:atIndexes: or replaceObjectsInRange:withObjectsFromArray:. Check out the documentation for examples.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜