Created
June 13, 2011 05:35
-
-
Save rhysforyou/1022352 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // TumblrAPIRequest.h | |
| // Tumblrocket | |
| // | |
| // Created by Rhys Powell on 12/06/11. | |
| // Copyright 2011 __MyCompanyName__. All rights reserved. | |
| // | |
| #import <Foundation/Foundation.h> | |
| typedef enum { | |
| dashboard | |
| } TumblrRequestType; | |
| @interface TumblrAPIRequest : NSObject { | |
| id target; | |
| SEL action; | |
| NSMutableData *received; | |
| NSURLConnection *connection; | |
| } | |
| - (TumblrAPIRequest *)initWithTarget:(id)target_ action:(SEL)action_; | |
| - (void)performRequestOfType:(TumblrRequestType)type_ withParameters:(NSDictionary *)parameters; | |
| - (void)cancelRequest; | |
| - (BOOL)isLoading; | |
| @end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment