Problems with current version of SDWebImage

流过昼夜 提交于 2019-12-12 03:58:09

问题


When I download the latest sourcecode of SDWebImage from the GitHub repo, I get compile errors in it.

For example in SDImageCache.m I have undeclared or unsynthesized properties. In initwithNameSpace: a variable named _ioQueue is used, but it is not declared anywhere and some others.

Same is in SDWebImageManager.m in its init method. It uses an undeclared variable named _imageCache. There is more of this.

Where can I download the latest working code of this project?


回答1:


I was using iOS 5 for my project. It turned out that the new versions of the library are made for iOS 6. So I had to find a version which worked on iOS 5. I downloaded it, included it and it is working again.



来源:https://stackoverflow.com/questions/14874918/problems-with-current-version-of-sdwebimage

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!