请问这是什么原因呢(IOS 初学者提问)?
您好,按照您的视频编写代码。这里报错,请问这是什么原因呢?
AVObject *item = self.dataArray[indexPath.row]; HomeTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"]; cell.textLabel.text = [item objectForKey:@"content"]; cell.currItem =item;//这里报错
错误信息: -[UITableViewCell setCurrItem:]: unrecognized selector sent to instance 0x7fa2d0049a002018-06-03 00:56:47.535675+0800 LeancloudDemo[1665:60725] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UITableViewCell setCurrItem:]: unrecognized selector sent to instance 0x7fa2d0049a00'*** First throw call stack: