diff options
Diffstat (limited to 'Juick/APIClient.h')
-rw-r--r-- | Juick/APIClient.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/Juick/APIClient.h b/Juick/APIClient.h index 8546d4d..8c6e024 100644 --- a/Juick/APIClient.h +++ b/Juick/APIClient.h @@ -6,8 +6,17 @@ // Copyright © 2016 com.juick. All rights reserved. // #import <Foundation/Foundation.h> +@import AFNetworking; @interface APIClient : NSObject - @property (nonatomic, retain) AFHTTPSessionManager *manager; - +(APIClient *) sharedClient; -@end
\ No newline at end of file + +@property (nonatomic, retain) AFHTTPSessionManager *manager; ++(APIClient *) sharedClient; + +-(void) pullNextFromPath:(NSString *)path params:(NSDictionary *)params callback:(void(^)(NSArray *, NSError *))callback; + ++(NSString *) messagesUrl; ++(NSString *) threadUrl; ++(NSString *) feedUrl; + +@end |