Giter Site home page Giter Site logo

Comments (22)

indulgeIn avatar indulgeIn commented on August 28, 2024 1

方法一是把yykit拆开pod导入 方法二是手动导入该组件

from ybimagebrowser.

eternaljust avatar eternaljust commented on August 28, 2024 1

自己的项目另外的一个库依赖是 4.2.3 ,demo 的 YBImageBrowser 现在依赖是 4.3.3
自己的项目编译时 YBImageBrowser 报错
[((SDWebImageDownloadToken *)token) cancel]; No visible @interface for 'SDWebImageDownloadToken' declares the selector 'cancel'

from ybimagebrowser.

indulgeIn avatar indulgeIn commented on August 28, 2024

你的建议之后会考虑。可以手动导入该库,改动 YBImageBrowserDownloader 文件解决冲突,所有关于SD 的逻辑都在这个文件中。

from ybimagebrowser.

maltsugar avatar maltsugar commented on August 28, 2024

嗯 这些是可以解决。但是需要花一点时间,我等空了再换你这个吧。主要是别人肯定没有作者熟悉组件,换肯定没有作者换快。需要一点成本

from ybimagebrowser.

xx-li avatar xx-li commented on August 28, 2024
[!] CocoaPods could not find compatible versions for pod "SDWebImage":
  In snapshot (Podfile.lock):
    SDWebImage (= 4.4.1, ~> 4.4.1)

  In Podfile:
    SDWebImage (~> 4.4.1)

    YBImageBrowser was resolved to 1.1.1, which depends on
      SDWebImage (~> 4.3.3)

@indulgeIn 有空了换一下吧。

from ybimagebrowser.

CoderLineChan avatar CoderLineChan commented on August 28, 2024

同上

from ybimagebrowser.

wjd759406594 avatar wjd759406594 commented on August 28, 2024

一样的 YBImageBrowser was resolved to 2.0.2, which depends on
SDWebImage (~> 4.3.3)

from ybimagebrowser.

Mephsito23 avatar Mephsito23 commented on August 28, 2024

感觉很不错,但是我安装的最新版本2.0.8使用 pod 'YBImageBrowser' 导入时和 YYKit 框架有冲突,里面都有 YYImage文件,希望能解决下>_<

from ybimagebrowser.

GrapeFruitJun avatar GrapeFruitJun commented on August 28, 2024

建议作者制不使用pod做三方依赖,冲突

from ybimagebrowser.

Coder-ZJ avatar Coder-ZJ commented on August 28, 2024

和SD冲突 安装完又卸了,建议作者去掉第三方依赖

from ybimagebrowser.

wanyijun avatar wanyijun commented on August 28, 2024

SD要求是5.00的 之前有的库用的是4.3的 全报错了

from ybimagebrowser.

indulgeIn avatar indulgeIn commented on August 28, 2024

SD要求是5.00的 之前有的库用的是4.3的 全报错了

使用 2.1.5 版本。

from ybimagebrowser.

zengweijun avatar zengweijun commented on August 28, 2024

同样问题,其实可以考虑将图片加载逻辑让用户自己实现,这样该组件就无需再依赖下载相关的第三方库

from ybimagebrowser.

ThisFriend avatar ThisFriend commented on August 28, 2024

SD要求是5.00的 之前有的库用的是4.3的 全报错了

使用 2.1.5 版本。

不行呀,#import "YBIBWebImageManager.h" 文件中还是会与SDWebImage 4.2.3 冲突。

from ybimagebrowser.

indulgeIn avatar indulgeIn commented on August 28, 2024

@ThisFriend 这个库一开始依赖的 SD 4.4 ,2.1.7 之后依赖 SD 5.0,所以最好是升级 SD,或者改本库。

from ybimagebrowser.

ThisFriend avatar ThisFriend commented on August 28, 2024

@ThisFriend 这个库一开始依赖的 SD 4.4 ,2.1.7 之后依赖 SD 5.0,所以最好是升级 SD,或者改本库。

OK,好的, 感谢。

from ybimagebrowser.

ThisFriend avatar ThisFriend commented on August 28, 2024

自己的项目另外的一个库依赖是 4.2.3 ,demo 的 YBImageBrowser 现在依赖是 4.3.3
自己的项目编译时 YBImageBrowser 报错
[((SDWebImageDownloadToken *)token) cancel]; No visible @interface for 'SDWebImageDownloadToken' declares the selector 'cancel'

老哥你这个问题这么解决的。

from ybimagebrowser.

zengweijun avatar zengweijun commented on August 28, 2024

from ybimagebrowser.

ThisFriend avatar ThisFriend commented on August 28, 2024

不用cocoapods安装,直接下载下来该源码,手动拖拽到项目中 只需要改这个文件就行了:YBIBWebImageManager.m | | 曾维俊 | | [email protected] | 签名由网易邮箱大师定制 在2019年05月23日 10:13,ThisFriend[email protected] 写道: 自己的项目另外的一个库依赖是 4.2.3 ,demo 的 YBImageBrowser 现在依赖是 4.3.3 自己的项目编译时 YBImageBrowser 报错 [((SDWebImageDownloadToken *)token) cancel]; No visible @interface for 'SDWebImageDownloadToken' declares the selector 'cancel' 老哥你这个问题这么解决的。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

感谢,虽然我自己已经改好了。
是把本项目2.1.5的YBIBWebImageManager里边的冲突代码改为了适配当前SDWebImage的

from ybimagebrowser.

jiutianhuanpei avatar jiutianhuanpei commented on August 28, 2024

不用cocoapods安装,直接下载下来该源码,手动拖拽到项目中 只需要改这个文件就行了:YBIBWebImageManager.m | | 曾维俊 | | [email protected] | 签名由网易邮箱大师定制 在2019年05月23日 10:13,ThisFriend[email protected] 写道: 自己的项目另外的一个库依赖是 4.2.3 ,demo 的 YBImageBrowser 现在依赖是 4.3.3 自己的项目编译时 YBImageBrowser 报错 [((SDWebImageDownloadToken *)token) cancel]; No visible @interface for 'SDWebImageDownloadToken' declares the selector 'cancel' 老哥你这个问题这么解决的。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

感谢,虽然我自己已经改好了。
是把本项目2.1.5的YBIBWebImageManager里边的冲突代码改为了适配当前SDWebImage的

你好,可以请教一下这个文件怎么改的吗

from ybimagebrowser.

ThisFriend avatar ThisFriend commented on August 28, 2024

不用cocoapods安装,直接下载下来该源码,手动拖拽到项目中 只需要改这个文件就行了:YBIBWebImageManager.m | | 曾维俊 | | [email protected] | 签名由网易邮箱大师定制 在2019年05月23日 10:13,ThisFriend[email protected] 写道: 自己的项目另外的一个库依赖是 4.2.3 ,demo 的 YBImageBrowser 现在依赖是 4.3.3 自己的项目编译时 YBImageBrowser 报错 [((SDWebImageDownloadToken *)token) cancel]; No visible @interface for 'SDWebImageDownloadToken' declares the selector 'cancel' 老哥你这个问题这么解决的。 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

感谢,虽然我自己已经改好了。
是把本项目2.1.5的YBIBWebImageManager里边的冲突代码改为了适配当前SDWebImage的

你好,可以请教一下这个文件怎么改的吗

应该是改成这个,很早的了。
[[SDWebImageDownloader sharedDownloader] cancel:token];

from ybimagebrowser.

indulgeIn avatar indulgeIn commented on August 28, 2024

最新版已经支持选择是否依赖 SDWebImage 导入,详情见 README 相关描述。

from ybimagebrowser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.