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.
精彩评论