iOS常见问题之 IOS Assigning to 'id<XXXDelegate>' from incompatible type...
2016-10-25 16:36
966 查看
提示把错误的类型赋值给XXXDelegate,
处理方法:
把头文件修改,加上
处理方法:
把头文件修改,加上
<XXXDelegate>
相关文章推荐
- IOS Assigning to 'id<UITabBarControllerDelegate>' from incompatible type...
- IOS Assigning to 'id<Delegate>' from incompatible type...解决办法<CALayerDelegate>
- Assigning to 'id<QMapViewDelegate>" from incompatible type "view control * const_strong"
- Assigning to "id<CALayerDelegate> _Nullable" from incompatible type "ZXCapture *const __strong" 的警告提示信息
- Assigning to 'id<UITextViewDelegate>' from incompatible type 'HBComposeViewController *const __stron
- Assigning to 'AppDelegate *' from incompatible type 'id<UIApplicationDelegate>'
- 关于应用在Xcode8上运行时的报错:Assigning to 'id<XXDelegate>' from incompatible type...
- Sending 'ViewController' to Parameter of Incompatible Type 'id<xxxDelegate>'
- Sending 'xxx *const __strong' to parameter of incompatible type 'id<aDelegate>'
- Assigning to ‘id<UIWebViewDelegate>’ from incompatible type 'xxxViewController *const __strong'
- Sending 'AppDelegate *const __strong' to parameter of incompatible type 'id<******Delegate>'
- 警告⚠️Assigning to 'id<LoginViewDelegate>' from incompatible type 'LoginViewController *__strong'
- Sending 'ViewController *const __strong' to parameter of incompatible type 'id<***Delegate>'
- Assigning to 'id<xxxxDelegate>' from incompatible type 'xxxxViewController *const __strong'
- Assigning to ‘APPDelegate’ from incompatible type ‘id<UIApplicationDelegate> _Nullable’
- Sending 'ViewController *const __strong' to parameter of incompatible type 'id<***Delegate>'
- Incompatible pointer types assigning to 'id<>' from 'Class'
- Xcode编译警告Assigning to 'id<XXXDelegat> ——Nullable' from incompatible type 'XXXView *const_strong'
- assigning to id from incompatible type
- java中的类型安全问题-Type safety: Unchecked cast from Object to ... 或者 Type safety: Unchecked cast from Type to Class<T>