更新mac系统和更新到Xcode7.3版本出现的: cannot create __weak reference in file using manual reference counting
之前的编程没有遇到过,应该是苹果官方那边又做了新规吧。
不过不要紧,只要根据这个就能解决报错问题。
Set Build
Settings -> Apple LLVM 7.1 - Language - Objective C -> Weak References in Manual Retain Release to YES.
Settings -> Apple LLVM 7.1 - Language - Objective C -> Weak References in Manual Retain Release to YES.
参考:
http://blog.csdn.net/sjcode/article/details/51014679
人这一辈子没法做太多的事情,
所以每一件都要做得精彩绝伦。
你的时间有限,
所以不要为别人而活。
不要被教条所限,
不要活在别人的观念里。
不要让别人的意见左右自己内心的声音。
最重要的是,
勇敢的去追随自己的心灵和直觉,
只有自己的心灵和直觉才知道你自己的真实想法,
其他一切都是次要。
工作是生活的一部分,所以工作不能全部占用于生活。