Are these kind of leaks normal? Are they false leaks or something I should be concerned with? The instruments tool doesn't give me any line of code from my app, seems Apple's frameworks are leaking?!
Ok, the problems could only come from here:
(void)tableView:(UITableView *)tableView accessoryButtonTappedForRowWithIndexPath:(NSIndexPath *)indexPath {
DetailViewController *detailViewController = [[DetailViewController alloc] initWithNibName:@"ProjectDetailView" bundle:[NSBundle mainBundle]];
Project *project = [projectsArray objectAtIndex:indexPath.row];
[detailViewController setProject:project];
[detailViewController setTitle:[project name]];
[self.navigationController pushViewController:detailViewController animated:YES];
[detailViewController release];
}
OR from the detail view's viewWillAppear event:
(void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[projectName setText:[project name]];
[appDefStatement setText:[project appDefStatement]];
[projectDesc setText:[project desc]];
NSMutableArray *theSketches = [[NSMutableArray alloc] initWithArray:[project.sketches allObjects]];
[self setSketchesArray:theSketches];
[theSketches release];
if([sketchesArray count] == 0) {
[tView setHidden:YES];
} else {
[tView setHidden:NO];
}
}