2014-10-29 21:58:58 +01:00
|
|
|
//
|
|
|
|
// RegistrationViewController.h
|
|
|
|
// Signal
|
|
|
|
//
|
|
|
|
// Created by Dylan Bourgeois on 13/11/14.
|
|
|
|
// Copyright (c) 2014 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import "CountryCodeViewController.h"
|
|
|
|
|
|
|
|
|
2015-12-22 12:45:09 +01:00
|
|
|
@interface RegistrationViewController : UIViewController <UITextFieldDelegate>
|
2014-10-29 21:58:58 +01:00
|
|
|
|
|
|
|
// Country code
|
2015-12-22 12:45:09 +01:00
|
|
|
@property (nonatomic, strong) IBOutlet UIButton *countryNameButton;
|
|
|
|
@property (nonatomic, strong) IBOutlet UIButton *countryCodeButton;
|
2014-10-29 21:58:58 +01:00
|
|
|
|
2015-12-22 12:45:09 +01:00
|
|
|
// Phone number
|
|
|
|
@property (nonatomic, strong) IBOutlet UITextField *phoneNumberTextField;
|
|
|
|
@property (nonatomic, strong) IBOutlet UIButton *phoneNumberButton;
|
|
|
|
@property (nonatomic, strong) IBOutlet UILabel *titleLabel;
|
|
|
|
// Button
|
|
|
|
@property (nonatomic, strong) IBOutlet UIButton *sendCodeButton;
|
2016-12-16 01:36:25 +01:00
|
|
|
@property (nonatomic, strong) IBOutlet UIButton *existingUserButton;
|
2015-01-14 22:30:01 +01:00
|
|
|
|
2015-12-22 12:45:09 +01:00
|
|
|
@property (nonatomic, strong) IBOutlet UIActivityIndicatorView *spinnerView;
|
2015-01-30 22:58:23 +01:00
|
|
|
@property (nonatomic) IBOutlet UIImageView *signalLogo;
|
|
|
|
@property (nonatomic) IBOutlet UIView *registrationHeader;
|
|
|
|
|
|
|
|
@property (nonatomic) IBOutlet NSLayoutConstraint *headerHeightConstraint;
|
2015-01-14 22:30:01 +01:00
|
|
|
|
|
|
|
- (IBAction)unwindToCountryCodeWasSelected:(UIStoryboardSegue *)segue;
|
|
|
|
- (IBAction)unwindToCountryCodeSelectionCancelled:(UIStoryboardSegue *)segue;
|
2014-11-27 09:49:50 +01:00
|
|
|
|
2014-10-29 21:58:58 +01:00
|
|
|
@end
|