Search code examples
objective-cswiftparse-platform

Use of unresolved identifier PFImageView


I cannot seem to declare my imageView as PFImageView. Keeps saying Use of undeclared type 'PFImageView'

enter image description here

  • In storyboard, I changed the class to PFImageView
  • I have imported the frameworks in the bridge file

One suggestion on the Parse forum says to do this, but not sure how to with swift:

//In AppDelegate / applicationDidLaunch add:

[PFImageView class];

Update:

After searching through the parse framework, I don't actually PFImageView in it.


Solution

  • For those of you still having trouble with this, I actually had to redownload the SDK and import an additional framework ParseUI

    Then import into bridger:

    #import <ParseUI/ParseUI.h>