Created
January 7, 2011 19:22
-
-
Save edwardinubuntu/769959 to your computer and use it in GitHub Desktop.
load more
This file contains 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
/* | |
* Begain to load | |
*/ | |
- (void)load:(TTURLRequestCachePolicy)cachePolicy more:(BOOL)more { | |
if (!self.isLoading && TTIsStringWithAnyText(_searchQuery)) { | |
// ... Prepare the feed URL | |
// ... Use TTURLRequest | |
// ... Use TTURLXMLResponse to use with response | |
// ... Request send | |
} | |
} | |
/* | |
* Collecting feed items | |
*/ | |
- (void)requestDidFinishLoad:(TTURLRequest*)request { | |
// ... Use TTURLXMLResponse for request.response | |
// ... Get the NSDictionary contains all the RSS data | |
// ... Trace into and get the RSSFeed data add to feedItems | |
// ... Set feedItems to feeds | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment