0
我想推动我的详细信息视图我正在使用PFQueryTableView,我认为它与正常一样,所以我正在使用它。从桌面控制器传递详细信息
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
// Check that a new transition has been requested to the DetailViewController and prepares for it
if ([segue.identifier isEqualToString:@"destinationViewController"]){
// Capture the object (e.g. exam) the user has selected from the list
NSIndexPath *indexPath = [self.tableView indexPathForSelectedRow];
PFObject *object = [self.objects objectAtIndex:indexPath.row];
dettailViewController *controller = (dettailViewController *) segue.destinationViewController;
controller.clinics = object;
}
}
但炸弹出在*控制线我有我的故事板导航控制器,请裸跟我即时只是学习Xcode和它的一记场笑。
当我说炸弹了它抱怨这里
PFObject *对象= [self.objects objectAtIndex:indexPath.row]。 vc.clinics = object; 和SAIDS线程错误
一些很重要,尤其是当你开始,是粘贴实际的完整错误信息,而不是试图用你自己的话来描述它。有时,措辞中有线索可能并不认为有用。 – 2014-11-03 20:05:56
@PhillipMills我不知道如何做到这一点在Xcode我只有13“的MacBook Pro和错误行总是切断到正确的 – rogue39nin 2014-11-03 20:07:33