Skip to content

Instantly share code, notes, and snippets.

@slmcmahon
Created March 4, 2012 23:00
Show Gist options
  • Save slmcmahon/1975249 to your computer and use it in GitHub Desktop.
Save slmcmahon/1975249 to your computer and use it in GitHub Desktop.
MetaSearchService header
#import <Foundation/Foundation.h>
#import "ASIHTTPRequestDelegate.h"
#import "MetaSearchServiceDelegate.h"
extern NSString *const META_SEARCH_URL;
extern NSString *const META_SEARCH_SOAP;
extern NSString *const META_SEARCH_SOAP_ACTION;
@interface MetaSearchService : NSObject<ASIHTTPRequestDelegate,NSXMLParserDelegate> {
NSMutableString *currentString;
}
@property (nonatomic, assign) id<MetaSearchServiceDelegate> delegate;
@property (nonatomic, retain) ASIHTTPRequest *request;
@property (nonatomic, retain) NSString *searchTerm;
@property (nonatomic, retain) NSString *statusMessage;
@property (nonatomic, retain) NSMutableArray *results;
@property (nonatomic, assign) BOOL success;
-(void)performMetaSearch;
@end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment