Swift开发教程--关于Existing instance variable '_delegate'...的解决的方法

xcode编译提示问题:Existing instance variable '_delegate' for property 'delegate' with  assign attribute must be __unsafe_unretained

改动为:

__unsafe_unretained id<QuadCurveMenuDelegate> _delegate;

这样就能够编译通过了。


posted @ 2017-07-24 15:41  llguanli  阅读(172)  评论(0编辑  收藏  举报