Hello. I have a question on getting all objects from an array like NSMutableArray, NSArray, and CCArray.
I'm trying to select all objects, but codes that I'm getting are these:
1:
[ExampleArray objectAtIndex:1]; <- It is only one, I need all objects.
2:
[ExampleArray objectsAtIndexes:]; <-This one, it says I need to use a integer set, but I'm not sure about it.
I know there are many more like getObjects, arrayWithArray (I read in the Apple Document), but in the "Finding Objects in an Array" section, I couldn't find a useful one for finding all my objects in the array.
I want to use them to make an array of actions.
If there is a tutorial or some answers, please reply to me.
Thanks.
Just for reference, I'm using NSMutableArray, so I mostly need the answer for NSMutableArray, but I will be more than happy if you tell me on other arrays too.