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