summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2014-02-07 16:20:16 +0400
committerGravatar Vitaly Takmazov2014-02-07 16:20:25 +0400
commit2303b2ecb295f478b51bcbc24e4ea2679ca1fbe8 (patch)
treec046f851b091bca1a3353f71c8e5985b208933d4
parent26cee3f257e7c42f33b84214e36dd13327a30600 (diff)
simplify Message class
-rw-r--r--Juick/Message.h20
1 files 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;