
creating and allocating memory to the NSMutableArray in objective c.

Hi, Just follow the given steps to create and addobject in NSMutableArray:
Step 1 in the header file create a object of NSMutableArray
NSMutableArray *array; //And property @property(nonatomic, retain)NSMutableArray *array;
in the viewDidLoad method(in implementation file) initialize the array and add objects to it ..as given below.
array = [[NSMutableArray alloc]init]; [array addObject:@"uber uns"]; [array addObject:@"Weiterempfehlen"]; [array addObject:@"App Bewerten"];

or you can directly create it in the viewDidLoad method of the implementation file. See the example given below..
NSMutableArray *array;
array = [[NSMutableArray alloc]init];
[array addObject:@"uber uns"];
[array addObject:@"Weiterempfehlen"];
[array addObject:@"App Bewerten"];

or you can directly create it in the viewDidLoad method of the implementation file. See the example given below..
NSMutableArray *array;
array = [[NSMutableArray alloc]init];
[array addObject:@"uber uns"];
[array addObject:@"Weiterempfehlen"];
[array addObject:@"App Bewerten"];
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.