PFSignUpView Class Reference

Inherits from UIScrollView
Declared in PFSignUpView.h

Overview

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

Creating SignUp View

– 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

  presentingViewController

The view controller that will present this view.

@property (PFUI_NULLABLE_PROPERTY, nonatomic, weak) UIViewController *presentingViewController

Discussion

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

Declared In

PFSignUpView.h

Customizing the Logo

  logo

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

@property (PFUI_NULLABLE_PROPERTY, nonatomic, strong) UIView *logo

Declared In

PFSignUpView.h

Configure Username Behaviour

  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

Sign Up Elements

  fields

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

@property (nonatomic, assign, readonly) PFSignUpFields fields

Declared In

PFSignUpView.h

  usernameField

The username text field.

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

Declared In

PFSignUpView.h

  passwordField

The password text field.

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

Declared In

PFSignUpView.h

  emailField

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

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

Declared In

PFSignUpView.h

  additionalField

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

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

Discussion

This field is intended to be customized.

Declared In

PFSignUpView.h

  signUpButton

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

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

Declared In

PFSignUpView.h

  dismissButton

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

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

Declared In

PFSignUpView.h