I'm trying to customize the Parse Log In View Controller (adding or removing fields) in my new Swift Project.
First I tried to add this (as said in official parse tutorial) :
logInViewController.fields = PFLogInFieldsUsernameAndPassword | PFLogInFieldsLogInButton | PFLogInFieldsSignUpButton | PFLogInFieldsPasswordForgotten
This was the error returned:
'PFLoginFields' is not convertible to 'Bool'
Next, I tried the solution mentioned here: Swift: Could not find an overload for '|' that accepts the supplied arguments
This solution returned the following error on Xcode 6 beta 4 :
'PFLoginFields' does not have a member named 'value'
Anyone have a solution working with this Xcode 6b4 ?
(sorry for my English, not my mother language)