// // AcidCowFeedburnerParser.h // PicCast // // Created by Matthew Handler on 4/15/11. // Copyright 2011 Earl Industries. All rights reserved. // #import #import "XMLParser.h" @class Topic; @interface AcidCowFeedburnerParser : XMLParser { NSMutableString *currentString; Topic *currentTopic; BOOL storingCharacters; NSDateFormatter *parseFormatter; NSMutableData *xmlData; BOOL done; NSURLConnection *rssConnection; // The number of parsed songs is tracked so that the autorelease pool for the parsing thread can be periodically // emptied to keep the memory footprint under control. NSUInteger countOfParsedTopics; NSAutoreleasePool *downloadAndParsePool; } @property (nonatomic, retain) NSMutableString *currentString; @property (nonatomic, retain) Topic *currentTopic; @property (nonatomic, retain) NSDateFormatter *parseFormatter; @property (nonatomic, retain) NSMutableData *xmlData; @property (nonatomic, retain) NSURLConnection *rssConnection; // The autorelease pool property is assign because autorelease pools cannot be retained. @property (nonatomic, assign) NSAutoreleasePool *downloadAndParsePool; - (void)downloadAndParse:(NSURL *)url; @end