mainContainerView is created 2 times now. One time in property and one time in initView function. The second is redundant and lead to problem, when my view is added to first created mainContainerView, then mainContainerView is replaced by second created and my view is not showing. So, second creation of mainContainerView is removed.
mainContainerView is created 2 times now. One time in property and one time in initView function. The second is redundant and lead to problem, when my view is added to first created mainContainerView, then mainContainerView is replaced by second created and my view is not showing. So, second creation of mainContainerView is removed.