美文网首页
将自定义cell变成弱引用

将自定义cell变成弱引用

作者: summerTa | 来源:发表于2018-08-30 11:00 被阅读0次

   __weak typeof (self) wkSelf = self;

    __weaktypeof(upViewCell) wkCell = upViewCell;

    upViewCell.zuoShanBack= ^(UIButton*btn) {

        [wkCellcloseMenuWithCompletionHandle:^{

            NSMutableDictionary *params = [NSMutableDictionary dictionary];

            params[@"id"] = viewModel.id;

            params[@"token"]=[DJUserDefaults

相关文章

网友评论

      本文标题:将自定义cell变成弱引用

      本文链接:https://www.haomeiwen.com/subject/kdjrwftx.html