Added public object functionality.
[pithos-ios] / Classes / FeedItem.m
1 //
2 //  FeedItem.m
3 //
4 //  Created by Mike Mayo on 1/28/10.
5 //  Copyright Mike Mayo 2010. All rights reserved.
6 //
7
8 #import "FeedItem.h"
9
10
11 @implementation FeedItem
12
13 @synthesize title, link, guid, description, content, creator, pubDate;
14
15 - (NSComparisonResult)compare:(FeedItem *)anotherFeedItem {
16         return [self.pubDate compare:anotherFeedItem.pubDate];
17 }
18
19 -(void) dealloc {
20         [title release];
21         [link release];
22         [guid release];
23         [description release];
24         [content release];
25         [creator release];
26         [pubDate release];
27         [super dealloc];
28 }
29
30 @end