From cdd96215dfdac2518a77faa709ca3b588f593968 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 20 Nov 2018 19:47:03 +0300 Subject: Avatar API --- Juick/Model/Chat.h | 1 + Juick/Model/User.h | 1 + 2 files changed, 2 insertions(+) (limited to 'Juick/Model') diff --git a/Juick/Model/Chat.h b/Juick/Model/Chat.h index a472389..1e80bdf 100644 --- a/Juick/Model/Chat.h +++ b/Juick/Model/Chat.h @@ -13,6 +13,7 @@ @property NSNumber *uid; @property NSString *uname; +@property NSString *avatar; @property NSNumber *unreadCount; @property NSDate *lastMessageTimestamp; @property NSString *lastMessageText; diff --git a/Juick/Model/User.h b/Juick/Model/User.h index 2710e4a..8120dec 100644 --- a/Juick/Model/User.h +++ b/Juick/Model/User.h @@ -11,6 +11,7 @@ @interface User : NSObject @property (nonatomic, strong) NSString *uname; @property (nonatomic, strong) NSString *uid; +@property (nonatomic, strong) NSString *avatar; + (void) get:(NSString *)name callback:(void(^)(User *))callback; -- cgit v1.2.3