将 AQGridView 与 HJCache 结合起来

发布于 2024-12-17 21:00:12 字数 115 浏览 2 评论 0原文

我正在尝试将 AQGridView 与 HJCache 结合起来。

然而,单独来看,两者都工作得很好。但我把它们组合在一起,似乎它们彼此不兼容。

以前有人这样做过吗?我可以给个提示吗?

I am trying to combine AQGridView with HJCache.

However, separately, both works fine. but i combine them together, it seems that they 're not compatible with each other.

Any one done this before? Can i have a hint?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

南笙 2024-12-24 21:00:12

您可以使用 AFNetworking (https://github.com/AFNetworking/AFNetworking),它有一个 ImageView 类别,可让您异步加载图像。

[content.imageView setImageWithURL:thumbURL placeholderImage:[UIImage imageNamed:@"thumbnail_loading.jpg"]];

content 是一个视图,其中包含名为“imageview”的 ImageView 作为子视图。

You can use AFNetworking (https://github.com/AFNetworking/AFNetworking) which has an ImageView Category that let's you load images asynchronously.

[content.imageView setImageWithURL:thumbURL placeholderImage:[UIImage imageNamed:@"thumbnail_loading.jpg"]];

content is a view with an ImageView named 'imageview' as a subview.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文