首页 > 其他 > 详细

Sending 'ViewController *const __strong' to parameter of incompatible type 'id<***Delegate>'

时间:2014-12-13 21:51:40      阅读:1628      评论:0      收藏:0      [点我收藏+]

iphone开发出现警告:Sending ‘ViewController *const __strong‘ to parameter of incompatible type ‘id<***Delegate>‘

原因是没有在头文件实现相应协议。

解决方法是在头文件中

@interface 一行后面加上 <协议名>


Sending 'ViewController *const __strong' to parameter of incompatible type 'id<***Delegate>'

原文:http://blog.csdn.net/liyun123gx/article/details/41913559

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!