整合核心情节

时间:2011-05-30 12:28:21

标签: iphone

大家好我想在我的项目中添加CorePlotGallery,但我不能这样做,因为当我想在我的菜单中调用RootViewController.m我有错误这个我的功能:

- (IBAction)statistic:(id)sender { 
    RootViewController *detai= [[RootViewController alloc] initWithNibName:@"RootViewController" bundle:nil]; 
    [self.navigationController pushViewController:detai animated:YES]; [detai release]; 
}

错误就在这里

plotItem = [[PlotGallery sharedPlotGallery] objectAtIndex:indexPath.row];
    cell.imageView.image=[plotItem image];
    cell.textLabel.text = plotItem.title;

0 个答案:

没有答案