forked from H2CO3/RSSKit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
RSSFeed.m
executable file
·59 lines (51 loc) · 1.12 KB
/
RSSFeed.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
//
// RSSFeed.m
// RSSKit
//
// Created by Árpád Goretity on 01/11/2011.
// Licensed under a CreativeCommons Attribution 3.0 Unported License
//
#import "RSSFeed.h"
@implementation RSSFeed
@synthesize type;
@synthesize title;
@synthesize description;
@synthesize url;
@synthesize date;
@synthesize author;
@synthesize articles;
@synthesize uid;
@synthesize language;
@synthesize copyright;
@synthesize categories;
@synthesize generator;
@synthesize validTime;
@synthesize iconUrl;
@synthesize cloudService;
- (id) init {
self = [super init];
NSMutableArray *theArticles = [[NSMutableArray alloc] init];
self.articles = theArticles;
[theArticles release];
NSMutableArray *theCategories = [[NSMutableArray alloc] init];
self.categories = theCategories;
[theCategories release];
return self;
}
- (void) dealloc {
self.title = NULL;
self.description = NULL;
self.url = NULL;
self.date = NULL;
self.author = NULL;
self.articles = NULL;
self.uid = NULL;
self.language = NULL;
self.copyright = NULL;
self.categories = NULL;
self.generator = NULL;
self.iconUrl = NULL;
self.cloudService = NULL;
[super dealloc];
}
@end