MHDevelopExample_Objective_C
MHDevelopExample_Objective_C copied to clipboard
下载的demo运行报错
[[YYCache sharedCache] objectForKey:CMHSearchFarmsHistoryCacheKey withBlock 报错 Incompatible block pointer types sending 'void (^)(NSString * _Nonnull __strong, NSArray<NSCoding> * _Nullable __strong)' to parameter of type 'void (^ _Nullable)(NSString * _Nonnull __strong, id<NSCoding> _Nonnull __strong)'
先百度一下,可能配置有误...
先百度一下,可能配置有误...
是yycache版本问题吗 block的参数不一样了
pod 'YYCache' , '1.0.4' 我版本都是写死的 应该不会有问题。顺道看下这个 issue 里面的解决方案,看有木有效果。 https://github.com/CoderMikeHe/WeChat/issues/22
谢谢!
| | 15755061719 | | 邮箱:[email protected] |
Signature is customized by Netease Mail Master
在2020年12月10日 11:17,CoderMikeHe 写道:
pod 'YYCache' , '1.0.4' 我版本都是写死的 应该不会有问题。顺道看下这个 issue 里面的解决方案,看有木有效果。 CoderMikeHe/WeChat#22
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[[YYCache sharedCache] objectForKey:CMHSearchFarmsHistoryCacheKey withBlock 报错 Incompatible block pointer types sending 'void (^)(NSString * _Nonnull __strong, NSArray * _Nullable __strong)' to parameter of type 'void (^ _Nullable)(NSString * _Nonnull __strong, id _Nonnull __strong)'
先百度一下,可能配置有误...
是yycache版本问题吗 block的参数不一样了
你好,请问解决了吗?貌似现在yycache里面没有这个方法了
[[YYCache sharedCache] objectForKey:CMHExample06RemoteImageCacheKey withBlock:^(NSString * _Nonnull key, UIImage * _Nonnull object)这个方法已经不存在了,下载下来的版本无法运行。请问还在维护更新吗?