在使用__weak 的时候报错 Xcode 7.3 cannot create __weak reference in file using manual reference counting
解决方法一:
设置项目中的build setting -> Apple LLVM7.1 - Language - Objective C -> Weak References in Manual Retain Release YES
解决方法二:
用__unsafe_unretained 代替__weak
参考:https://segmentfault.com/q/1010000004670789
原文链接http://blog.csdn.net/lllkey/article/details/51314997