@interface XEditorAnswerDetailView ()<UITableViewDelegate,UITableViewDataSource>
{
XEditorCommentEntity *commentModel;
}
@property (nonatomic, strong) UITableView *answerTableView;
@property (nonatomic, strong) UIImageView *tabHeaderImageView;
上面
{
属性!!!
}
cell.answerToAnswerBlock = ^{
__strong typeof(weakSelf)self = weakSelf;
//BOOL isSelf = [weakCell.answerContentLabel.text hasPrefix:@"我"];
if (self.delegate && [self.delegate respondsToSelector:@selector(answerToAnswerWithAuthor:insertIdx:)]) {
[self.delegate answerToAnswerWithAuthor:⚠️_commentModel ⚠️ insertIdx:indexPath.row];
}
};
会造成循环引用
网友评论