session-ios/Signal/src/ViewControllers/RegistrationViewController.h

37 lines
1.2 KiB
C
Raw Normal View History

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"
@interface RegistrationViewController : UIViewController <UITextFieldDelegate>
2014-10-29 21:58:58 +01:00
// Country code
@property (nonatomic, strong) IBOutlet UIButton *countryNameButton;
@property (nonatomic, strong) IBOutlet UIButton *countryCodeButton;
2014-10-29 21:58:58 +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;
@property (nonatomic, strong) IBOutlet UIButton *existingUserButton;
@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;
- (IBAction)unwindToCountryCodeWasSelected:(UIStoryboardSegue *)segue;
- (IBAction)unwindToCountryCodeSelectionCancelled:(UIStoryboardSegue *)segue;
2014-10-29 21:58:58 +01:00
@end