Alan881 / AACarousel

Easy to create image slider in Swift
MIT License
57 stars 20 forks source link

Value of type 'UIImageView' has no member 'kf' #9

Open RakeshRav opened 6 years ago

RakeshRav commented 6 years ago

I am getting this error while writing this line

imageView.kf.setImage(with: URL(string: url[index]), placeholder: UIImage.init(named: "defaultImage"), options: [.transition(.fade(1))], progressBlock: nil, completionHandler: nil)

igorgcustodio commented 6 years ago

You need to use the Kingfisher pod.

pod 'Kingfisher'

scshivam commented 6 years ago

I too have the same issue. I have installed Kingfisher

Please Help..!!!!!

igorgcustodio commented 6 years ago

Did you have imported the library?