I am geting an exception while hitting the line "self.myData = ..."
GDB Program received signal: EXC_BAD_ACCESS
Here's my code:
- (void)viewDidLoad {
[super viewDidLoad];
self.myData = [NSArray arrayWithObjects:
[NSArray arrayWithObjects:
@"Boroughs",
[NSArray arrayWithObjects:
@"Kings",
@"Bronx",
@"Manhattan",
@"Queens",
@"Staten Island",
nil],
nil],
[NSArray arrayWithObjects:
@"Surrounding Counties",
[NSArray arrayWithObjects:
@"Westchester",
@"Nassau",
@"Suffolk",
"@Fairfield",
nil],
nil],
nil];
}