I used a fairly common design pattern for standard iOS shift navigation. I based the project on an example found here: http://www.raywenderlich.com/32054/how-to-create-a-slide-out-navigation-like-facebook-and-path . The basic design uses four view controllers, a central link controller, a left view controller, a right view controller and a main container controller for storing and managing three other views. The main container places the central controller on top, and when the user slides left or right on his or her thumb, the view will move to display the corresponding controller below. I recently adapted this to a project that has almost thirty different controllers. I have work with the initial view, but I wonder what is the best way to scale this function? I want this navigation system to be available on every page, so that the user can easily navigate and move anywhere in the world. The controllers on the right and left will always be the same no matter what controller you are on, is there a way to have a common main container that dynamically loads the central controller depending on the type of user the user is working on? Or do I need to go and implement a container controller for each individual controller that I want to use for navigation navigation? Obviously, I would have thought that the first method would be the most efficient and scalable, but I donβt know how to do it or if it is possible.
source share