MHDevelopExample_Objective_C icon indicating copy to clipboard operation
MHDevelopExample_Objective_C copied to clipboard

下载的demo运行报错

Open ZzzzyMan opened this issue 4 years ago • 6 comments

[[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)'

ZzzzyMan avatar Dec 10 '20 03:12 ZzzzyMan

先百度一下,可能配置有误...

CoderMikeHe avatar Dec 10 '20 03:12 CoderMikeHe

先百度一下,可能配置有误...

是yycache版本问题吗 block的参数不一样了

ZzzzyMan avatar Dec 10 '20 03:12 ZzzzyMan

pod 'YYCache' , '1.0.4' 我版本都是写死的 应该不会有问题。顺道看下这个 issue 里面的解决方案,看有木有效果。 https://github.com/CoderMikeHe/WeChat/issues/22

CoderMikeHe avatar Dec 10 '20 03:12 CoderMikeHe

谢谢!

| | 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.

WeJeson avatar Dec 10 '20 04:12 WeJeson

[[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里面没有这个方法了

zhanglkx avatar Mar 10 '22 05:03 zhanglkx

[[YYCache sharedCache] objectForKey:CMHExample06RemoteImageCacheKey withBlock:^(NSString * _Nonnull key, UIImage * _Nonnull object)这个方法已经不存在了,下载下来的版本无法运行。请问还在维护更新吗?

vlay1314 avatar Jul 11 '23 03:07 vlay1314