Improvement - View controller: Remove properties initialization from 'viewDidLoad'.

see https://github.com/matrix-org/matrix-ios-kit/issues/94
This commit is contained in:
giomfo
2017-01-03 14:40:23 +01:00
parent bdcf8f2011
commit b5af0a295c
23 changed files with 203 additions and 82 deletions
+7 -2
View File
@@ -80,6 +80,13 @@
@implementation HomeViewController
- (void)finalizeInit
{
[super finalizeInit];
// The navigation bar tint color and the rageShake Manager are handled by super (see SegmentedViewController).
}
- (void)viewDidLoad
{
// Set up the SegmentedVC tabs before calling [super viewDidLoad]
@@ -110,8 +117,6 @@
[super viewDidLoad];
// The navigation bar tint color and the rageShake Manager are handled by super (see SegmentedViewController)
self.navigationItem.title = NSLocalizedStringFromTable(@"title_recents", @"Vector", nil);
// Add the Vector background image when search bar is empty