LuxChat  2.0
Instant messenger for iOS
List of all members
PFLogInView Class Reference

#import <PFLogInView.h>

Inheritance diagram for PFLogInView:

Properties

Customizing the Logo


UIView * logo
 The logo. By default, it is the Parse logo.
 
Configure Username Behaviour


BOOL emailAsUsername
 

Creating Log In View



UIViewController * presentingViewController
 
(instancetype) - initWithFields:
 

Log In Elements



PFLogInFields fields
 
PFTextFieldusernameField
 
PFTextFieldpasswordField
 
UIButton * passwordForgottenButton
 
UIButton * logInButton
 
UIButton * facebookButton
 
UIButton * twitterButton
 
UIButton * signUpButton
 
UIButton * dismissButton
 
(UILabel *externalLogInLabel) - __attribute__
 
(UILabel *signUpLabel) - __attribute__
 

Detailed Description

The PFLogInView class provides a standard log in interface for authenticating a PFUser.

Method Documentation

- (UILabel* externalLogInLabel) __attribute__ (PARSE_UI_DEPRECATED("This property is deprecated and will always be nil.")) 

The facebook/twitter login label.

Deprecated:
This property is deprecated and will always be nil.
- (UILabel* signUpLabel) __attribute__ (PARSE_UI_DEPRECATED("This property is deprecated and will always be nil.")) 

The sign up label.

Deprecated:
This property is deprecated and will always be nil.
- (instancetype) initWithFields: (PFLogInFields)  fields

Initializes the view with the specified log in elements.

Parameters
fieldsA bitmask specifying the log in elements which are enabled in the view
Returns
An initialized PFLogInView object or nil if the object couldn't be created.
See also
PFLogInFields

Property Documentation

- (UIButton*) dismissButton
readnonatomicstrong

It is nil if the element is not enabled.

- (BOOL) emailAsUsername
readwritenonatomicassign

If email should be used to log in, instead of username

By default, this is set to NO.

- (UIButton*) facebookButton
readnonatomicstrong

The Facebook button. It is nil if the element is not enabled.

- (PFLogInFields) fields
readnonatomicassign

The bitmask which specifies the enabled log in elements in the view.

- (UIButton*) logInButton
readnonatomicstrong

The log in button. It is nil if the element is not enabled.

- (PFTextField*) passwordField
readnonatomicstrong

The password text field. It is nil if the element is not enabled.

- (UIButton*) passwordForgottenButton
readnonatomicstrong

The password forgotten button. It is nil if the element is not enabled.

- (UIViewController*) presentingViewController
readwritenonatomicweak

The view controller that will present this view.

Used to lay out elements correctly when the presenting view controller has translucent elements.

- (UIButton*) signUpButton
readnonatomicstrong

The sign up button. It is nil if the element is not enabled.

- (UIButton*) twitterButton
readnonatomicstrong

The Twitter button. It is nil if the element is not enabled.

- (PFTextField*) usernameField
readnonatomicstrong

The username text field. It is nil if the element is not enabled.


The documentation for this class was generated from the following file: