Skip to content

Commit

Permalink
Merge pull request Xcode-Snippets#47 from hanton/master
Browse files Browse the repository at this point in the history
Replace deprecated viewDidUnload with didReceiveMemoryWarning
  • Loading branch information
mattt committed Jan 20, 2015
2 parents da77d73 + e23cad7 commit 53e4421
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lifecycle.m
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ - (void)viewDidLoad {
[super viewDidLoad];
}

- (void)viewDidUnload {
[super viewDidUnload];
}

- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
}
Expand All @@ -30,3 +26,7 @@ - (void)viewWillDisappear:(BOOL)animated {
- (void)viewDidDisappear:(BOOL)animated {
[super viewDidDisappear:animated];
}

- (void)didReceiveMemoryWarning {
[super didReceiveMemoryWarning];
}

0 comments on commit 53e4421

Please sign in to comment.