pod中加入第三方 Kingfisher SnapKit
pod第三方
platform :ios, '10.0'
target 'ChatWorld' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks
use_frameworks!
pod 'Alamofire'
pod 'SwiftyJSON'
pod 'HandyJSON', '~> 4.1.1'
pod 'Kingfisher'
pod 'SVProgressHUD'
pod 'MJRefresh'
pod 'SGPagingView'
pod 'BMPlayer'
pod 'FDFullscreenPopGesture'
pod 'SnapKit'
pod 'lottie-ios'
pod 'HyphenateLite'
pod 'EaseUI', :git => 'https://github.com/easemob/easeui-ios-hyphenate-cocoapods.git'
end
cell的编写
import UIKit