summaryrefslogtreecommitdiff
path: root/Juick/Model/User.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-08-28 21:03:22 +0300
committerGravatar Vitaly Takmazov2016-08-28 21:03:22 +0300
commit188d8e4ea870d1a6c8edd5a9b323742804badeba (patch)
tree071067f7189a6474d49abb952b1b04b820985b7a /Juick/Model/User.h
parenta74588083c4950e9237dff7a84ccdd129b72c950 (diff)
project cleanup
Diffstat (limited to 'Juick/Model/User.h')
-rw-r--r--Juick/Model/User.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/Juick/Model/User.h b/Juick/Model/User.h
new file mode 100644
index 0000000..84300f3
--- /dev/null
+++ b/Juick/Model/User.h
@@ -0,0 +1,27 @@
+//
+// User.h
+// Juick
+//
+// Created by Vitaly on 01.02.14.
+// Copyright (c) 2014 com.juick. All rights reserved.
+//
+
+#import <Foundation/Foundation.h>
+#import "PDKeychainBindings.h"
+#import "SIAlertView.h"
+#import "APIClient.h"
+#import "YYModel.h"
+
+@interface User : NSObject
+@property (nonatomic, strong) NSString *uname;
+@property (nonatomic, strong) NSString *uid;
+
++ (void) get:(NSString *)name callback:(void(^)(User *))callback;
+
++ (BOOL) isAuthenticated;
+
++ (void) checkIsValid:(void(^)(BOOL))callback;
+
++ (void) throwUnableToLogin;
+
+@end