RSSKit
0.6.1
|
#import <RSSFactory.h>
Inherits <RSSFactory>.
Public Member Functions | |
(NSString *) | - storagePathForURL: |
(id< RSSArticle >) | - articleWithHeadline:URL:content:date: |
(id< RSSArticle >) | - articleFromStorageWithURL: |
(id< RSSArticle >) | - articleFromDictionary: |
![]() | |
(id< RSSFeed >) | - feedWithURL: |
(id< RSSArticle >) | - articleWithHeadline:URL:content:date: |
(id< RSSArticle >) | - articleFromStorageWithURL: |
(id< RSSArticle >) | - articleFromDictionary: |
(NSString *) | - storagePathForURL: |
Static Public Member Functions | |
(id< RSSFactory >) | + sharedFactory |
(void) | + setFactory: |
A standard implementation of the RSSFactory protocol. This class can easily be subclassed and changed.
- (id< RSSArticle >) articleFromDictionary: | (NSDictionary*) | aDictionary |
The default implementation of this method returns a article of the RSSArticle class.
Referenced by articleFromStorageWithURL:.
- (id< RSSArticle >) articleFromStorageWithURL: | (NSString*) | aURL |
The default implementation of this method returns a new article of the RSSArticle class.
References articleFromDictionary:, and storagePathForURL:.
- (id< RSSArticle >) articleWithHeadline: | (NSString*) | aHeadline | |
URL: | (NSString*) | aURL | |
content: | (NSString*) | aContent | |
date: | (NSDate*) | aDate | |
The default implementation of this method returns a new article of the RSSArticle class.
+ (void) setFactory: | (id<RSSFactory>) | aFactory |
Sets another shared factory instance than the currently selected one.
References sharedFactory.
+ (id< RSSFactory >) sharedFactory |
Returns the shared factory instance.
Referenced by setFactory:.
- (NSString *) storagePathForURL: | (NSString*) | anURL |
Returns the path where an article is stored in based on its URL.
Returns the file path where an article with the anURL URL would be stored to.
Referenced by articleFromStorageWithURL:.