Array Length and Unrecognised selector
Am a noob to this and for some reason my app fails when called a modalView that has to set some values.
Code follows:
In the caller view, this is where it fails
[self presentModalViewController: theNavController animated:YES];
and the view which is being called this is the stuff that is being set in viewDidLoad:
NSMutableArray *aboutText;
aboutSections = [[NSMutableArray alloc] initWithObjects:@"About", nil];
aboutText = [[NSMutableArray alloc] init];
//Set About Info
[aboutText addObject:[[NSMutableDictionary alloc] initWithObjectsAndKeys:@"Scoring",@"title",@"Scori ng blurb", @"text", nil]];
aboutData = [[NSMutableArray alloc] initWithObjects:aboutText, nil];
[aboutText release];
nothing out of the ordinary I think.
Then why the uncaught exception?
Thanks
|