Inherits from UIView
Declared in PFLogInView.h

Overview

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

Tasks

Creating Log In View

  • – initWithFields:

    Initializes the view with the specified log in elements.

  •   presentingViewController

    The view controller that will present this view.
    Used to lay out elements correctly when the presenting view controller has translucent elements.

    property

Customizing the Logo

Accessing Log In Elements

  •   fields

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

    property
  •   usernameField

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

    property
  •   passwordField

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

    property
  •   passwordForgottenButton

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

    property
  •   logInButton

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

    property
  •   facebookButton

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

    property
  •   twitterButton

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

    property
  •   signUpButton

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

    property
  •   dismissButton

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

    property
  •   externalLogInLabel

    The facebook/twitter login label. It is only shown if the external login is enabled.

    property
  •   signUpLabel

    The sign up label. It is only shown if sign up button is enabled.

    property

Properties

dismissButton

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

@property (nonatomic, readonly, retain) UIButton *dismissButton

Discussion

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

Declared In

PFLogInView.h

externalLogInLabel

The facebook/twitter login label. It is only shown if the external login is enabled.

@property (nonatomic, readonly, retain) UILabel *externalLogInLabel

Discussion

The facebook/twitter login label. It is only shown if the external login is enabled.

Declared In

PFLogInView.h

facebookButton

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

@property (nonatomic, readonly, retain) UIButton *facebookButton

Discussion

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

Declared In

PFLogInView.h

fields

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

@property (nonatomic, readonly, assign) PFLogInFields fields

Discussion

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

Declared In

PFLogInView.h

logInButton

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

@property (nonatomic, readonly, retain) UIButton *logInButton

Discussion

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

Declared In

PFLogInView.h

logo

The logo. By default, it is the Parse logo.

@property (nonatomic, retain) UIView *logo

Discussion

The logo. By default, it is the Parse logo.

Declared In

PFLogInView.h

passwordField

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

@property (nonatomic, readonly, retain) UITextField *passwordField

Discussion

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

Declared In

PFLogInView.h

passwordForgottenButton

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

@property (nonatomic, readonly, retain) UIButton *passwordForgottenButton

Discussion

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

Declared In

PFLogInView.h

presentingViewController

The view controller that will present this view.
Used to lay out elements correctly when the presenting view controller has translucent elements.

@property (nonatomic, retain) UIViewController *presentingViewController

Discussion

The view controller that will present this view.
Used to lay out elements correctly when the presenting view controller has translucent elements.

Declared In

PFLogInView.h

signUpButton

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

@property (nonatomic, readonly, retain) UIButton *signUpButton

Discussion

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

Declared In

PFLogInView.h

signUpLabel

The sign up label. It is only shown if sign up button is enabled.

@property (nonatomic, readonly, retain) UILabel *signUpLabel

Discussion

The sign up label. It is only shown if sign up button is enabled.

Declared In

PFLogInView.h

twitterButton

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

@property (nonatomic, readonly, retain) UIButton *twitterButton

Discussion

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

Declared In

PFLogInView.h

usernameField

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

@property (nonatomic, readonly, retain) UITextField *usernameField

Discussion

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

Declared In

PFLogInView.h

Instance Methods

initWithFields:

Initializes the view with the specified log in elements.

- (id)initWithFields:(PFLogInFields)fields

Parameters

fields

A bitmask specifying the log in elements which are enabled in the view

Discussion

Initializes the view with the specified log in elements.

Declared In

PFLogInView.h