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
@@ -37,6 +37,13 @@
@implementation RoomSearchViewController
- (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]
@@ -56,8 +63,6 @@
[super viewDidLoad];
// The navigation bar tint color and the rageShake Manager are handled by super (see SegmentedViewController)
// Add the Vector background image when search bar is empty
[self addBackgroundImageViewToView:self.view];