The best way to achieve navigation with iOS slides

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.

+4
source share
1 answer

An easy way to navigate through third-party slides is to enter the source code for your project. Typically, the code contains instructions on how to implement it and a demo application.

Here is an example of open source slides such as facebook

mfsidemenu

The website you are linking to ( www.cocoacontrols.com ) has some great open source iOS controls!

+3
source

Source: https://habr.com/ru/post/1480284/


All Articles