diff options
author | Vitaly Takmazov | 2013-11-07 14:06:59 +0400 |
---|---|---|
committer | Vitaly Takmazov | 2013-11-07 14:06:59 +0400 |
commit | 508ba6b17f37e60af73fe5e5168b3d0b88ddd085 (patch) | |
tree | d4f8f269b95bf7232d09521c02e7920b238a9835 /Juick/Message.h | |
parent | ff23c4eb5d382d25c2e4779e0ea8f4b724651105 (diff) |
using RestKit
Diffstat (limited to 'Juick/Message.h')
-rw-r--r-- | Juick/Message.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Juick/Message.h b/Juick/Message.h index 5ec3732..233f5ba 100644 --- a/Juick/Message.h +++ b/Juick/Message.h @@ -7,7 +7,7 @@ // #import <Foundation/Foundation.h> -#import "NSString+HTML.h" +#import <RestKit/RestKit.h> @interface Message : NSObject @@ -16,9 +16,8 @@ @property(nonatomic, copy) NSString *user; @property(nonatomic, copy) NSDecimalNumber *userID; @property(nonatomic, copy) NSString *text; +@property(nonatomic, copy) NSArray *tags; --(id) initWithDictionary:(NSDictionary *)dictionary; - -+(NSArray *) pullNextFromURL:(NSURL *)url; ++(void) pullNextFromURL:(NSURL *)url callback:(void(^)(NSArray *))callback; @end |