PFLogInViewController logInView.usernameField.attributedPlaceholder is gone

41 Views Asked by At

In a CustomLogInViewController class of mine subclass of PFLogInViewController, I had this kind of code:

@implementation CustomLogInViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    .......
    self.logInView.usernameField.attributedPlaceholder = sOME_VALUE;
    self.logInView.passwordField.attributedPlaceholder = sOME_OTHER_VALUE;
    .......
}

And this was generating no particular issue, but recently (after POD updates), I get this error messages:

Property 'attributedPlaceholder' cannot be found in forward class object 'PFTextField'

Did anyone else encounter this case and has a solution for it?

1

There are 1 best solutions below

1
On BEST ANSWER

This error usually points out that Xcode can not recognize your symbol.

Try to insert this in your .h file:

#import PFTextField.h