Skip to content

Commit 53e4d97

Browse files
author
dzenbot
committed
Uses -loadView instead of -viewDidLoad for configurating subviews
1 parent 692d47a commit 53e4d97

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Source/Classes/SLKTextViewController.m

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ - (void)commonInit
8989

9090
#pragma mark - View lifecycle
9191

92-
- (void)viewDidLoad
92+
- (void)loadView
9393
{
94-
[super viewDidLoad];
94+
[super loadView];
9595

9696
self.view.backgroundColor = [UIColor whiteColor];
9797

@@ -1197,11 +1197,6 @@ - (void)didReceiveMemoryWarning
11971197
[super didReceiveMemoryWarning];
11981198
}
11991199

1200-
- (void)viewDidUnload
1201-
{
1202-
[super viewDidUnload];
1203-
}
1204-
12051200
- (void)dealloc
12061201
{
12071202
_tableView.delegate = nil;

0 commit comments

Comments
 (0)