RSSKit
0.6.1
|
#import <RSSArticleProtocol.h>
Inherits <RSSArticle>.
Instance Methods | |
(void) | - addLink: |
(void) | - setLinks: |
(void) | - setDate: |
Instances conforming to this protocol can be modified. Applications usually don't want to modify articles, as they are already created by the feeds, so handing around articles as id<RSSArticle> is a good way to ensure nobody (without malicious intentions) is going to change them.
- (void RSSMutableArticle) addLink: | (NSURL *) | anURL |
Adds a new link to this article. This is a RSSLink object, which usually has the "type" property set to an NSString which represents the resource's MIME type. You may also specify the "rel" property, which should be one of "enclosure", "related", "alternate", "via".
- (void RSSMutableArticle) setDate: | (NSDate *) | aDate |
Sets the article's date.
- (void RSSMutableArticle) setLinks: | (NSArray *) | someLinks |
Replaces the list of links with a new one. See the documentation for addLink: for details. Hint: The parameter may also be nil.