summaryrefslogtreecommitdiff
path: root/Juick/ViewControllers/LoginViewController.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2020-06-24 22:49:00 +0300
committerGravatar Vitaly Takmazov2020-12-10 18:59:38 +0300
commitd7a93cca8289ad997af9ad2c1540877d5bd50879 (patch)
tree1bb732f35e2d0c8801debf9df374ade0ea24cdbc /Juick/ViewControllers/LoginViewController.h
parentaad20a5cb0a7996d1e83f64fdd973fb7ca290529 (diff)
Diffstat (limited to 'Juick/ViewControllers/LoginViewController.h')
-rw-r--r--Juick/ViewControllers/LoginViewController.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/Juick/ViewControllers/LoginViewController.h b/Juick/ViewControllers/LoginViewController.h
index 451a99c..fd8e78a 100644
--- a/Juick/ViewControllers/LoginViewController.h
+++ b/Juick/ViewControllers/LoginViewController.h
@@ -7,17 +7,19 @@
//
#import <UIKit/UIKit.h>
-
+#import "JJJAuthorizationField.h"
#import "User.h"
extern NSString * const UserChangedNotificationName;
-@interface LoginViewController : UIViewController
+API_AVAILABLE(ios(13.0))
+@interface LoginViewController : UIViewController<ASAuthorizationControllerDelegate>
@property (weak, nonatomic) IBOutlet UILabel *currentUser;
@property (weak, nonatomic) IBOutlet UITextField *usernameField;
@property (weak, nonatomic) IBOutlet UITextField *passwordField;
@property (weak, nonatomic) IBOutlet UIButton *signOutButton;
@property (weak, nonatomic) IBOutlet UIImageView *imageView;
+@property (weak, nonatomic) IBOutlet JJJAuthorizationField *authorizationField;
- (IBAction)signoutPressed:(id)sender;
@property (strong, nonatomic) IBOutlet NSLayoutConstraint *bottomConstraint;
@end