Code:
@interface testTable2ViewController : UIViewController
{
NSMutableArray **indexStore;
}
@property(nonatomic , retain) NSMutableArray **indexStore;
@end
@implementation testTable2ViewController
@synthesize indexStore;
- (void)viewDidLoad
{
NSMutableArray *jung[10];
for (NSInteger i = 0; i <10; i++)
{
jung[i] = [[NSMutableArray alloc]init];
indexStore[i] = [[NSMutableArray alloc]init];
}//for
}
@end
//////////////////////////////////////////////////////
jung = [[NSMutableArray alloc]init]; is working good....
but indexStore = [[NSMutableArray alloc]init]; can't work
Error Message is EXC_BAD_ACCESS...
why it is not working?