防止出现 Capturing 'self' strongly in this block is likely to lead to a retain cycle [duplicate]
来源:互联网 发布:mac 系统怎么翻墙 编辑:程序博客网 时间:2024/09/21 08:42
__weak typeof(self) weakSelf = self;
然后需要self.的地方 变成weakself
0 0
- 防止出现 Capturing 'self' strongly in this block is likely to lead to a retain cycle [duplicate]
- Capturing 'self' strongly in this block is likely to lead to a retain cycle [duplicate]
- Capturing 'self' strongly in this block is likely to lead to a retain cycle [duplicate]
- Capturing 'self' strongly in this block is likely to lead to a retain cycle
- capturing self strongly in this block is likely to lead to a retain cycle
- Capturing self strongly in this block is likely to lead to a retain cycle
- Capturing 'self' strongly in this block is likely to lead to a retain cycle
- Capturing 'self' strongly in this block is likely to lead to a retain cycle
- Capturing 'self' strongly in this block is likely to lead to a retain cycle
- capturing self strongly in this block is likely to lead to a retain cycle
- Capturing 'self' strongly in this block is likely to lead to a retain cycle
- Capturing 'self' strongly in this block is likely to lead to retain cycle 解决方案
- Capturing self strongly in this block is likely to lead to retain cycle解决方案
- Capturing self strongly in this block is likely to lead to retain cycle
- Capturing self strongly in this block is likely to lead to retain cycle的问题
- iOS之Block报错:capturing self strongly in this block is likely to lead to a retain cycle
- iOS之Block报错:capturing self strongly in this block is likely to lead to a retain cycle
- iOS--错误集锦--Capturing 'self' strongly in this block is likely to lead to a retain cycle
- 【leetcode】216. Combination Sum III
- javah类不存在
- eclipse环境配置maven项目
- Objective-C 类别使用
- Hive on Spark源码分析(六)—— RemoteSparkJobMonitor与JobHandle
- 防止出现 Capturing 'self' strongly in this block is likely to lead to a retain cycle [duplicate]
- poj 3009 Curling2.0(dfs)
- 初学Hibernate经验
- 用户体验之自定义Toast,拿过来直接用(Toast的重复显示)
- poj 1159Palindrome(dp lcs变形)
- js遍历数组的方法
- colo.xml
- IT工程师怎样预防、治好颈椎腰椎伤肾等职业病
- 利用CSS和DIV的几种布局方法(1)