Iphone 积分核心图
嗨,伙计们,我想在我的项目中添加CorePlotGallery,但我做不到,因为当我想调用RootViewController.m时,我的菜单中有一个bug,我的函数:Iphone 积分核心图,iphone,Iphone,嗨,伙计们,我想在我的项目中添加CorePlotGallery,但我做不到,因为当我想调用RootViewController.m时,我的菜单中有一个bug,我的函数: - (IBAction)statistic:(id)sender { RootViewController *detai= [[RootViewController alloc] initWithNibName:@"RootViewController" bundle:nil]; [self.navigati
- (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;
你能解释一下你收到了什么样的错误吗?2011-05-30 13:40:24.092 Soap[783:207]-[CPMutableNumericData setDataType:]:无法识别的选择器发送到实例0x598be20 2011-05-30 13:40:24.094 Soap[783:207]***由于未捕获的异常“NSInvalidArgumentException”而终止应用程序,原因:'-[CPMutableNumericData setDataType:]:第一次抛出时发送到实例0x598be20'***调用堆栈的未识别选择器:(0 CoreFoundation 0x014Deb9_0;exceptionPreprocess+185 1 libobjc.A.dylib 0x016335c2 objc_exception_0;throw+47 2 CoreFoundation 0x014e06fb-[NSObject(NSObjei将解释我想要做什么,我有一个新项目,我从core plot gallery添加了所有文件,我想在我的函数中调用RootViewController OK我现在就死了lool,haw我可以在我的项目中添加项目plot_gallery_iOS,因为我现在阻止了WW-(UITableViewCell*)tableView:(UITableView*)tv CellforRowatinexpath:(NSIndexPath*)indexPath{static NSString*cellId=@“PlotCell”;UITableViewCell*cell=[tv dequeueReusableCellWithIdentifier:cellId];if(cell==nil){cell=[[UITableViewCellAlloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellId]自动释放];cell.accessoryType=UITableViewCellAccessoryNone;}plotItem=[[PlotGallery sharedPlotGallery]objectAtIndex:indexPath.row];cell.imageView.image=[plotItem image];cell.textLabel.text=plotItem.title;返回单元格;}