equal
deleted
inserted
replaced
19 |
19 |
20 #pragma mark - |
20 #pragma mark - |
21 #pragma mark View Lifecycle |
21 #pragma mark View Lifecycle |
22 -(void) viewDidLoad { |
22 -(void) viewDidLoad { |
23 [super viewDidLoad]; |
23 [super viewDidLoad]; |
|
24 } |
|
25 |
|
26 -(void) viewWillAppear:(BOOL)animated { |
|
27 [self.tableView setContentOffset:CGPointMake(0,0) animated:NO]; |
24 |
28 |
25 NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] initWithContentsOfFile:SETTINGS_FILE()]; |
29 NSMutableDictionary *dictionary = [[NSMutableDictionary alloc] initWithContentsOfFile:SETTINGS_FILE()]; |
26 self.settingsDictionary = dictionary; |
30 self.settingsDictionary = dictionary; |
27 [dictionary release]; |
31 [dictionary release]; |
28 } |
32 |
29 |
|
30 -(void) viewWillAppear:(BOOL)animated { |
|
31 [self.tableView setContentOffset:CGPointMake(0,0) animated:NO]; |
|
32 |
|
33 [super viewWillAppear:animated]; |
33 [super viewWillAppear:animated]; |
34 } |
34 } |
35 |
35 |
36 -(void) viewWillDisappear:(BOOL)animated { |
36 -(void) viewWillDisappear:(BOOL)animated { |
37 [super viewWillDisappear:animated]; |
37 [super viewWillDisappear:animated]; |