Inherits from UIScrollView
Declared in PFSignUpView.h

Overview

The PFSignUpView class provides a standard sign up interface for authenticating a PFUser.

Tasks

Creating SignUp View

Customizing the Logo

Configure Username Behaviour

Sign Up Elements

Properties

additionalField

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

@property (nonatomic, strong, readonly) PFTextField *additionalField

Discussion

This field is intended to be customized.

Declared In

PFSignUpView.h

dismissButton

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

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

Declared In

PFSignUpView.h

emailAsUsername

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

@property (nonatomic, assign) BOOL emailAsUsername

Discussion

By default, this is set to NO.

Declared In

PFSignUpView.h

emailField

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

@property (nonatomic, strong, readonly) PFTextField *emailField

Declared In

PFSignUpView.h

fields

The bitmask which specifies the enabled sign up elements in the view

@property (nonatomic, assign, readonly) PFSignUpFields fields

Declared In

PFSignUpView.h

logo

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

@property (nonatomic, strong) UIView *logo

Declared In

PFSignUpView.h

passwordField

The password text field.

@property (nonatomic, strong, readonly) PFTextField *passwordField

Declared In

PFSignUpView.h

presentingViewController

The view controller that will present this view.

@property (nonatomic, weak) UIViewController *presentingViewController

Discussion

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

Declared In

PFSignUpView.h

signUpButton

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

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

Declared In

PFSignUpView.h

usernameField

The username text field.

@property (nonatomic, strong, readonly) PFTextField *usernameField

Declared In

PFSignUpView.h

Instance Methods

initWithFields:

Initializes the view with the specified sign up elements.

- (instancetype)initWithFields:(PFSignUpFields)fields

Parameters

fields

A bitmask specifying the sign up elements which are enabled in the view

Return Value

An initialized PFSignUpView object or nil if the object couldn’t be created.

See Also

Declared In

PFSignUpView.h