Reputation: 1004
This is very basic but I don't know how to do it. How can a NSMutableArray object be cleared from all elements. I want to set the array to the state when it was created:
NSMutableArray *myArray = [[NSMutableArray alloc] init];
Thanks
Upvotes: 0
Views: 996