vendredi 31 juillet 2015

'UIImageView+AFNetworking.h' file not found

I'm learning Objective C and doing some practice iOS following some tutorial. They quickly mention the use of AFNetworking and how to use it however after hours of frustration and roaming the internet I can not get it to work. I've included the AFNetworking files and #import "AFNetworking.h" works but #import "UIImageView+AFNetworking.h" gives the error

'UIImageView+AFNetworking.h' file not found

What could I be doing wrong? The tutorial i'm following might be outdated. I've simply downloaded the latest version from github, then in Xcode via File>Add Files I added the folder containing the files (I used the "Copy items if needed" and "Create groups" options).

I've attached a picture. Maybe that can give some clarification. enter image description here

Aucun commentaire:

Enregistrer un commentaire