LuxChat  2.0
Instant messenger for iOS
List of all members
<PFSignUpViewControllerDelegate> Protocol Reference

#import <PFSignUpViewController.h>

Inheritance diagram for <PFSignUpViewControllerDelegate>:

Instance Methods

Customizing Behavior


(BOOL) - signUpViewController:shouldBeginSignUp:
 
Responding to Actions


(void) - signUpViewController:didSignUpUser:
 
(void) - signUpViewController:didFailToSignUpWithError:
 
(void) - signUpViewControllerDidCancelSignUp:
 

Detailed Description

The PFLogInViewControllerDelegate protocol defines methods a delegate of a PFSignUpViewController should implement. All methods of this protocol are optional.

Method Documentation

- (void) signUpViewController: (PFSignUpViewController *)  signUpController
didFailToSignUpWithError: (nullable NSError *)  error 

Sent to the delegate when the sign up attempt fails.

Parameters
signUpControllerThe signup view controller where signup failed.
errorNSError object representing the error that occured.
- (void) signUpViewController: (PFSignUpViewController *)  signUpController
didSignUpUser: (PFUser *)  user 

Sent to the delegate when a PFUser is signed up.

Parameters
signUpControllerThe signup view controller where signup finished.
userPFUser object that is a result of the sign up.
- (BOOL) signUpViewController: (PFSignUpViewController *)  signUpController
shouldBeginSignUp: (NSDictionary< NSString *, NSString * > *)  info 

Sent to the delegate to determine whether the sign up request should be submitted to the server.

Parameters
signUpControllerThe signup view controller that is requesting the data.
infoAn NSDictionary instance which contains all sign up information that the user entered.
Returns
A BOOL indicating whether the sign up should proceed.
- (void) signUpViewControllerDidCancelSignUp: (PFSignUpViewController *)  signUpController

Sent to the delegate when the sign up screen is cancelled.

Parameters
signUpControllerThe signup view controller where signup was cancelled.

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