From 2303b2ecb295f478b51bcbc24e4ea2679ca1fbe8 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 7 Feb 2014 16:20:16 +0400 Subject: simplify Message class --- Juick/Message.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Juick/Message.h b/Juick/Message.h index 3bbb731..3f11c0e 100644 --- a/Juick/Message.h +++ b/Juick/Message.h @@ -11,16 +11,16 @@ @interface Message : NSObject -@property(nonatomic, copy) NSDecimalNumber *MID; -@property(nonatomic, copy) NSDecimalNumber *RID; -@property(nonatomic, copy) NSString *user; -@property(nonatomic, copy) NSDecimalNumber *userID; -@property(nonatomic, copy) NSString *text; -@property(nonatomic, copy) NSArray *tags; -@property(nonatomic, copy) NSString *timestamp; -@property(nonatomic, copy) NSString *attach; -@property(nonatomic, copy) NSString *repliesBy; -@property(nonatomic, copy) NSDecimalNumber *repliesCount; +@property NSNumber *MID; +@property NSNumber *RID; +@property NSString *user; +@property NSNumber *userID; +@property NSString *text; +@property NSArray *tags; +@property NSString *timestamp; +@property NSString *attach; +@property NSString *repliesBy; +@property NSNumber *repliesCount; +(void) pullNextFromPath:(NSString *)path params:(NSDictionary *)params callback:(void(^)(NSArray *))callback; +(NSString *) messagesUrl; -- cgit v1.2.3