26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
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
|
+
+
+
+
-
|
#import "AddSiteController.h"
#import "ShowDetailsController.h"
@implementation MainViewController
- (void)viewDidLoad
{
[super viewDidLoad];
_siteStorage = [[SiteStorage alloc] init];
[self reset];
}
- (void)dealloc
{
[_sites release];
[_siteStorage release];
[_searchBar release];
[_tableView release];
[_sites release];
[super dealloc];
}
- (void)reset
{
void *pool = objc_autoreleasePoolPush();
|