summaryrefslogtreecommitdiff
path: root/Juick/AppDelegate.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-10-31 16:16:48 +0300
committerGravatar Vitaly Takmazov2020-05-12 16:38:25 +0300
commit9d78e7d654c51c22ce4be87efef5bc1f8d5a2d08 (patch)
treedfb028dfca07fdb7bbacc00771f9e865f28fd6d4 /Juick/AppDelegate.h
parent742e1a0e615a7e07a9f4b4c249227cd63839325f (diff)
Fix authentication
Diffstat (limited to 'Juick/AppDelegate.h')
-rw-r--r--Juick/AppDelegate.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Juick/AppDelegate.h b/Juick/AppDelegate.h
index 8b89131..6c277a9 100644
--- a/Juick/AppDelegate.h
+++ b/Juick/AppDelegate.h
@@ -9,10 +9,11 @@
@import UIKit;
#import "ThreadViewController.h"
#import "User.h"
+#import "API.h"
extern NSString * const UserUpdatedNotificationName;
-@interface AppDelegate : UIResponder <UIApplicationDelegate, UNUserNotificationCenterDelegate>
+@interface AppDelegate : UIResponder <UIApplicationDelegate, UNUserNotificationCenterDelegate, JuickAuthorizationDelegate>
@property (strong, nonatomic) UIWindow *window;
@@ -30,6 +31,8 @@ extern NSString * const UserUpdatedNotificationName;
@property (strong, nonatomic) NSString *pushedUname;
@property (strong, nonatomic) NSNumber *pushedReplyId;
+@property (strong, nonatomic) API *api;
+@property (strong, nonatomic) NSDateFormatter *sharedDateFormatter;
@end