initial
This commit is contained in:
78
Parse.framework/Versions/1.2.13/Headers/PFLogInView.h
Executable file
78
Parse.framework/Versions/1.2.13/Headers/PFLogInView.h
Executable file
@@ -0,0 +1,78 @@
|
||||
//
|
||||
// PFLogInView.h
|
||||
// Parse
|
||||
//
|
||||
// Created by Qian Wang on 3/9/12.
|
||||
// Copyright (c) 2012. All rights reserved.
|
||||
//
|
||||
|
||||
#import <UIKit/UIKit.h>
|
||||
|
||||
typedef enum {
|
||||
PFLogInFieldsNone = 0,
|
||||
PFLogInFieldsUsernameAndPassword = 1 << 0,
|
||||
PFLogInFieldsPasswordForgotten = 1 << 1,
|
||||
PFLogInFieldsLogInButton = 1 << 2,
|
||||
PFLogInFieldsFacebook = 1 << 3,
|
||||
PFLogInFieldsTwitter = 1 << 4,
|
||||
PFLogInFieldsSignUpButton = 1 << 5,
|
||||
PFLogInFieldsDismissButton = 1 << 6,
|
||||
|
||||
PFLogInFieldsDefault = PFLogInFieldsUsernameAndPassword | PFLogInFieldsLogInButton | PFLogInFieldsSignUpButton | PFLogInFieldsPasswordForgotten | PFLogInFieldsDismissButton
|
||||
} PFLogInFields;
|
||||
|
||||
/*!
|
||||
The class provides a standard log in interface for authenticating a PFUser.
|
||||
*/
|
||||
@interface PFLogInView : UIView
|
||||
|
||||
/*! @name Creating Log In View */
|
||||
/*!
|
||||
Initializes the view with the specified log in elements.
|
||||
@param fields A bitmask specifying the log in elements which are enabled in the view
|
||||
*/
|
||||
- (id)initWithFields:(PFLogInFields) fields;
|
||||
|
||||
/*! @name Customizing the Logo */
|
||||
|
||||
/// The logo. By default, it is the Parse logo.
|
||||
@property (nonatomic, retain) UIView *logo;
|
||||
|
||||
/*! @name Accessing Log In Elements */
|
||||
|
||||
/// The bitmask which specifies the enabled log in elements in the view
|
||||
@property (nonatomic, readonly, assign) PFLogInFields fields;
|
||||
|
||||
/// The username text field. It is nil if the element is not enabled.
|
||||
@property (nonatomic, readonly, retain) UITextField *usernameField;
|
||||
|
||||
/// The password text field. It is nil if the element is not enabled.
|
||||
@property (nonatomic, readonly, retain) UITextField *passwordField;
|
||||
|
||||
/// The password forgotten button. It is nil if the element is not enabled.
|
||||
@property (nonatomic, readonly, retain) UIButton *passwordForgottenButton;
|
||||
|
||||
/// The log in button. It is nil if the element is not enabled.
|
||||
@property (nonatomic, readonly, retain) UIButton *logInButton;
|
||||
|
||||
/// The Facebook button. It is nil if the element is not enabled.
|
||||
@property (nonatomic, readonly, retain) UIButton *facebookButton;
|
||||
|
||||
/// The Twitter button. It is nil if the element is not enabled.
|
||||
@property (nonatomic, readonly, retain) UIButton *twitterButton;
|
||||
|
||||
/// The sign up button. It is nil if the element is not enabled.
|
||||
@property (nonatomic, readonly, retain) UIButton *signUpButton;
|
||||
|
||||
/// The dismiss button. It is nil if the element is not enabled.
|
||||
@property (nonatomic, readonly, retain) UIButton *dismissButton;
|
||||
|
||||
/// The facebook/twitter login label. It is only shown if the external login is enabled.
|
||||
@property (nonatomic, readonly, retain) UILabel *externalLogInLabel;
|
||||
|
||||
/// The sign up label. It is only shown if sign up button is enabled.
|
||||
@property (nonatomic, readonly, retain) UILabel *signUpLabel;
|
||||
|
||||
@end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user