summaryrefslogtreecommitdiff
path: root/Juick/Model/User.h
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-12-02 23:23:31 +0300
committerGravatar Vitaly Takmazov2018-12-02 23:23:31 +0300
commita293a8e049fea49b8c2b8262fb92a29f73d66989 (patch)
tree2201a139fc19fcac59714e915f08b0aa7e816517 /Juick/Model/User.h
parent3bc3a38be7ccaf9622bdc86ffac37827af36f0f1 (diff)
Drop YYModel
Diffstat (limited to 'Juick/Model/User.h')
-rw-r--r--Juick/Model/User.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Juick/Model/User.h b/Juick/Model/User.h
index 8120dec..59b010d 100644
--- a/Juick/Model/User.h
+++ b/Juick/Model/User.h
@@ -13,6 +13,8 @@
@property (nonatomic, strong) NSString *uid;
@property (nonatomic, strong) NSString *avatar;
++ (User *) fromJSON:(NSDictionary *)jsonData;
+
+ (void) get:(NSString *)name callback:(void(^)(User *))callback;
+ (BOOL) isAuthenticated;