1

I tried hnk_setImageFromURL but it says "Value of type 'UIImageView' has no member 'hnk_setImageFromURL'.

I have imported the Haneke.xcodeproj manually. On top of the class there is 'import Haneke'.

2 Answers2

1

In the project under 'Build Settings' then Architectures, I needed to change the 'Build Active Architectures Only' setting to 'YES' then it worked.

0

I think that's more because you set it like that:
imgCover?.image.hnk_setImageFromURL(image)
Instead of
imgCover?.hnk_setImageFromURL(image)

VivienG
  • 2,143
  • 3
  • 24
  • 43