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

#import <PFSignUpView.h>

Inheritance diagram for PFSignUpView:

Properties

Customizing the Logo


UIView * logo
 
Configure Username Behaviour


BOOL emailAsUsername
 
Sign Up Elements


PFSignUpFields fields
 
PFTextFieldusernameField
 
PFTextFieldpasswordField
 
PFTextFieldemailField
 
PFTextFieldadditionalField
 
UIButton * signUpButton
 
UIButton * dismissButton
 

Creating SignUp View



UIViewController * presentingViewController
 
(instancetype) - initWithFields:
 

Detailed Description

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

Method Documentation

- (instancetype) initWithFields: (PFSignUpFields)  fields

Initializes the view with the specified sign up elements.

Parameters
fieldsA bitmask specifying the sign up elements which are enabled in the view
Returns
An initialized PFSignUpView object or nil if the object couldn't be created.
See also
PFSignUpFields

Property Documentation

- (PFTextField*) additionalField
readnonatomicstrong

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

This field is intended to be customized.

- (UIButton*) dismissButton
readnonatomicstrong

The dismiss button. 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.

- (PFTextField*) emailField
readnonatomicstrong

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

- (PFSignUpFields) fields
readnonatomicassign

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

- (UIView*) logo
readwritenonatomicstrong

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

- (PFTextField*) passwordField
readnonatomicstrong

The password text field.

- (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.

- (PFTextField*) usernameField
readnonatomicstrong

The username text field.


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