Set Build
Settings -> Apple LLVM 7.1 - Language - Objective C -> Weak References in Manual Retain Release to YES.
参考:
http://stackoverflow.com/questions/36147625/xcode-7-3-cannot-create-weak-reference-in-file-using-manual-reference-counting
本文介绍如何在Xcode中设置Objective-C的弱引用,并解决手动内存管理下创建弱引用的问题。
Set Build
Settings -> Apple LLVM 7.1 - Language - Objective C -> Weak References in Manual Retain Release to YES.
参考:
http://stackoverflow.com/questions/36147625/xcode-7-3-cannot-create-weak-reference-in-file-using-manual-reference-counting
1062
2525

被折叠的 条评论
为什么被折叠?