1.SDWebImage安装配置一
下载SDWebImage:https://github.com/rs/SDWebImage
Installation
There are two ways to use this in your project: copy all the files into your project, or import the project as a static library.
Add the SDWebImage project to your project
Right-click on the project navigator and select "Add Files to "Your Project":
In the dialog, select SDWebImage.xcodeproj:
After you’ve added the subproject, it’ll appear below the main project in Xcode’s Navigator tree:
You may want to add the SDWebImage directory in your project source tree as a submodule before adding it to your project.