Cannot create __weak reference in file using manual reference counting

解决办法:

点击工程-------->Build Settings--------->Apple LLVM8.1 - Language - Objectibe-C------------->Weak Reference In Manual Retain Release设置为YES。

by:初光夫

原文地址:https://www.cnblogs.com/widgetbox/p/11613340.html