diff options
author | Vitaly Takmazov | 2016-12-22 20:02:37 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-22 20:02:37 +0300 |
commit | 87c992e9db9464215d12a3987fe384d65e96bc50 (patch) | |
tree | a50471f97c74a78ba2d89f49a7a7e473115cf0a7 /Juick/Model | |
parent | b3de91bba52f309df4eabdd30b8cd189f0b3bdae (diff) |
refactoring
Diffstat (limited to 'Juick/Model')
-rw-r--r-- | Juick/Model/Message.h | 4 | ||||
-rw-r--r-- | Juick/Model/Message.m | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Juick/Model/Message.h b/Juick/Model/Message.h index b100e7d..438f693 100644 --- a/Juick/Model/Message.h +++ b/Juick/Model/Message.h @@ -11,8 +11,8 @@ @interface Message : NSObject -@property NSNumber *MID; -@property NSNumber *RID; +@property NSNumber *mid; +@property NSNumber *rid; @property User *user; @property NSString *text; @property NSArray<NSString *> *tags; diff --git a/Juick/Model/Message.m b/Juick/Model/Message.m index de08e98..a4bcd2c 100644 --- a/Juick/Model/Message.m +++ b/Juick/Model/Message.m @@ -13,8 +13,8 @@ + (NSDictionary *)modelCustomPropertyMapper { return @{@"text" : @"body", - @"MID" : @"mid", - @"RID" : @"rid", + @"mid" : @"mid", + @"rid" : @"rid", @"attach" : @"photo.small", @"repliesCount": @"replies", @"repliesBy": @"repliesby"}; |