22 #import <UIKit/UIKit.h>
24 #import <ParseUI/ParseUIConstants.h>
26 NS_ASSUME_NONNULL_BEGIN
34 typedef NS_OPTIONS(NSInteger, PFLogInFields) {
36 PFLogInFieldsNone = 0,
38 PFLogInFieldsUsernameAndPassword = 1 << 0,
40 PFLogInFieldsPasswordForgotten = 1 << 1,
42 PFLogInFieldsLogInButton = 1 << 2,
44 PFLogInFieldsFacebook = 1 << 3,
46 PFLogInFieldsTwitter = 1 << 4,
48 PFLogInFieldsSignUpButton = 1 << 5,
50 PFLogInFieldsDismissButton = 1 << 6,
53 PFLogInFieldsDefault = (PFLogInFieldsUsernameAndPassword |
54 PFLogInFieldsLogInButton |
55 PFLogInFieldsSignUpButton |
56 PFLogInFieldsPasswordForgotten |
57 PFLogInFieldsDismissButton)
65 extern NSString *
const PFLogInViewUsernameFieldAccessibilityIdentifier;
66 extern NSString *
const PFLogInViewPasswordFieldAccessibilityIdentifier;
67 extern NSString *
const PFLogInViewLogInButtonAccessibilityIdentifier;
68 extern NSString *
const PFLogInViewSignUpButtonAccessibilityIdentifier;
69 extern NSString *
const PFLogInViewPasswordForgottenButtonAccessibilityIdentifier;
70 extern NSString *
const PFLogInViewTwitterButtonAccessibilityIdentifier;
71 extern NSString *
const PFLogInViewFacebookButtonAccessibilityIdentifier;
72 extern NSString *
const PFLogInViewDismissButtonAccessibilityIdentifier;
94 - (instancetype)initWithFields:(PFLogInFields)fields;
108 @property (nullable, nonatomic, strong) UIView *
logo;
128 @property (nonatomic, assign, readonly) PFLogInFields fields;
148 @property (nullable, nonatomic, strong, readonly) UIButton *
logInButton;
163 @property (nullable, nonatomic, strong, readonly) UIButton *
signUpButton;
175 @property (nullable, nonatomic, strong, readonly) UILabel *externalLogInLabel
__attribute__(PARSE_UI_DEPRECATED(
"This property is deprecated and will always be nil."));
182 @property (nullable, nonatomic, strong, readonly) UILabel *signUpLabel
__attribute__(PARSE_UI_DEPRECATED(
"This property is deprecated and will always be nil."));
186 NS_ASSUME_NONNULL_END
UILabel *externalLogInLabel __attribute__(PARSE_UI_DEPRECATED("This property is deprecated and will always be nil."))
UIButton * logInButton
Definition: PFLogInView.h:148
UIView * logo
The logo. By default, it is the Parse logo.
Definition: PFLogInView.h:108
UIButton * passwordForgottenButton
Definition: PFLogInView.h:143
PFTextField * passwordField
Definition: PFLogInView.h:138
Definition: PFLogInView.h:79
UIButton * dismissButton
Definition: PFLogInView.h:168
Definition: PFTextField.h:47
UIViewController * presentingViewController
Definition: PFLogInView.h:101
PFTextField * usernameField
Definition: PFLogInView.h:133
UIButton * twitterButton
Definition: PFLogInView.h:158
UIButton * facebookButton
Definition: PFLogInView.h:153
BOOL emailAsUsername
Definition: PFLogInView.h:119
UIButton * signUpButton
Definition: PFLogInView.h:163