如何在Objective C中修复多个类似的警告

问题描述 投票:0回答:1

更新到XCode 9.3后,我有1167个警告说:

Block implicitly retains 'self'; explicitly mention 'self' to indicate this is intended behavior

有没有办法立刻修复所有这些?或者如果没有,是否有办法按下键盘按钮激活该警告的Fix按钮?

objective-c xcode
1个回答
1
投票

CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = NO

enter image description here

Full answer

© www.soinside.com 2019 - 2024. All rights reserved.