
Hi,
How to remove all objects from nsmutablearray?
Thanks

HI,
Here is the code for creating NSMutablearray, adding objects and then removing all the objects:
NSMutableArray *myArray = [[NSMutableArray alloc] init]; [myArray addObject:@"One"]; [myArray addObject:@"Two"]; [myArray removeAllObjects]; [myArray release];
Thanks
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.