I am trying to utilize the 'viewDidLoad' function on the default view from the SlideMenu, and noticed that each of the views gets re/instantiated every time we traverse through the menu. To understand my problem more clearly, I am trying to open/close the menu on initial loading of the app so that the user see's the navigation.
How is it possible to instantiate all of the views only once, at launch, but still only show the above functionality the first time the 'Home' view appears? Isn't it better practice to load the views only once?
I have set up my slider to manually perform segues as instructed elsewhere, but still unsure on where I need to actually set the view up and pass it as initialised.
Hi,
I am trying to utilize the 'viewDidLoad' function on the default view from the SlideMenu, and noticed that each of the views gets re/instantiated every time we traverse through the menu. To understand my problem more clearly, I am trying to open/close the menu on initial loading of the app so that the user see's the navigation.
How is it possible to instantiate all of the views only once, at launch, but still only show the above functionality the first time the 'Home' view appears? Isn't it better practice to load the views only once?
I have set up my slider to manually perform segues as instructed elsewhere, but still unsure on where I need to actually set the view up and pass it as initialised.
I was trying to follow this advice: https://github.com/ECSlidingViewController/ECSlidingViewController/issues/114
Thanks, Matt