I need to make an array, in which each object is a NSArray:
NSMutableArray *AberdeenStores=[NSMutableArray alloc];
AberdeenStores=[AberdeenStores initWithObjects:[[NSArray alloc]initWithObjects:@"Aberdeen Name Store 1",@"Aberdeen Adress Store 1",@"Aberdeen Telephone store 1","", nil],[NSArray arrayWithObjects:@"Aberdeen Name Store 2",@"Aberdeen Adress Store 2",@"Aberdeen Telephone store 2", nil],[[NSArray alloc ]initWithObjects:@"Aberdeen Name Store 3",@"Aberdeen Adress Store 3",@"Aberdeen Telephone store 3", nil], nil];
This seems causing crash. What is wrong please? Thanx in advance.
You just have a typo in there. Replace “” with @”” in the first sub-array