Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于自定制ASCellNode的问题 #6

Open
ganyang-eyespage opened this issue Mar 8, 2017 · 6 comments
Open

关于自定制ASCellNode的问题 #6

ganyang-eyespage opened this issue Mar 8, 2017 · 6 comments

Comments

@ganyang-eyespage
Copy link

我发现你在自定制ASCellNode的时候,习惯是在didLoad里新建一个UIImageView,这样做只是为了使用yy_imageURL?如果不是的话为什么不直接用提供的ASNetworkImageNode呢?

@12207480
Copy link
Owner

12207480 commented Mar 9, 2017

在当前的版本 ASNetworkImageNode 对于图片下载有问题,可能会阻塞主线程卡顿

@ganyang-eyespage
Copy link
Author

我试了下如果用imageView的话,加载质量比较好的图片一直往下滚动的话会出现内存问题闪退,但是用ASNetworkImageNode就没有此问题,我在想是否因为ASCellNode本身用自己的方法复用,但是用UIKit的控件这点没解决好?

@12207480
Copy link
Owner

是比较大的图片吧

@ganyang-eyespage
Copy link
Author

是的,图片比较大

@12207480
Copy link
Owner

第三方库yy sd都有这个问题,我就得有个参数可以设置,你可以查下

@xhzengAIB
Copy link

@12207480
嗨!你好
我们看到您的开源项目,请问你现在考虑杭州阿里巴巴的iOS开发工作吗?

Jack

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants