Sending 'ViewController' to Parameter of Incompatible Type 'id<xxxDelegate>'
来源:互联网 发布:查找算法 编辑:程序博客网 时间:2024/05/19 01:10
报错:
Sending 'ViewController' to parameter of incompatible type id<xxxDelegate>
原因:
没有实现 xxxDelegate 协议而使用了协议方法。
解决:
在ViewController实现xxxDelegate协议。
参考:
http://stackoverflow.com/questions/7745838/sending-class-to-parameter-of-incompatible-type-iduiwebviewdelegate-warning
0 0
- Sending 'ViewController' to Parameter of Incompatible Type 'id<xxxDelegate>'
- Sending 'ViewController *const __strong' to parameter of incompatible type 'id<***Delegate>'
- Sending 'ViewController *const __strong' to parameter of incompatible type 'id<***Delegate>'
- 警告解决办法sending 'viewcontroller *' to parameter of incompatible type 'id UMSocialUIDelegate
- Sending 'xxx *const __strong' to parameter of incompatible type 'id<aDelegate>'
- Sending 'AppDelegate *const __strong' to parameter of incompatible type 'id<******Delegate>'
- Sending 'ShareView *const _strong' to parameter of incompatible type 'id<UIAlertViewDelegate>'
- Sending 'ccColor4B' (aka 'struct _ccColor4B') to parameter of incompatible type 'CIColor *'
- [cocos2d]Sending 'ccColor4B' (aka 'struct _ccColor4B') to parameter of incompatible type 解决办法
- Sending 'ccColor4B' (aka 'struct _ccColor4B') to parameter of incompatible type 'CIColor *'错误
- Sending 'NSProgress *__strong *' to parameter of incompatible type 'void (^ _Nullable)(NSProgress *
- 报错原因:Incompatible pointer types sending 'UIImage *' to parameter of type 'NSString * _Nonnull'
- iOS常见问题之 IOS Assigning to 'id<XXXDelegate>' from incompatible type...
- Type 'ViewController' does not conform to protocol 'xxxdelegate'
- 解决 sending 'const NSString *' to parameter of type 'NSString *' discards qualifiers
- const 定义警告 Sending 'const NSString *__strong' to parameter of type 'NSString * _Nullable'...
- assigning to id from incompatible type
- 错误argument of type "char *" is incompatible with parameter of type "LPCWSTR"的解决方法
- Jquery Mobile学习教程之四 页面过渡
- 算法之旅 直奔DP
- 实现了Runnable接口的实例,就一定会启动一个新的线程么?
- apache配置directory
- Objective-C语法之代码块(block)的使用
- Sending 'ViewController' to Parameter of Incompatible Type 'id<xxxDelegate>'
- ORACLE 10g 安装教程[图文]
- 怎么样让人记住你的品牌
- sscanf函数用法详解
- 相对路径和绝对路径
- [C/C++标准库]_[初级]_[使用freopen重定向标准输出]
- 是男人就下100层【第一层】——高仿微信界面(7)
- quartz在集群环境下的解决方案
- 编码器设计