So I am in the right place if I create a hierarchical application in which its root is the navigation controller?
Nearly. The nav controller (even though it is a subclass of the UIViewController) does not control views, but rather other view controllers. The nav controller pushes and pushes view controllers, which, in turn, cause the dispatcher to load the corresponding views and become visible.
Therefore, the "root view" is actually a view that is controlled by the view controller, which is located in the nav controller topViewController .
The application delegate serves to store the navigation controller and to indicate which view controller first clicks on the stack. After that, the view controllers tell the navigation controller when to click and place them.
Otherwise, you are on the right track. You should always try to present information on the mobile platform in a hierarchical manner, starting with the most general at the top and increasing more specifically when you expand.
And you should not be embarrassed if you find this confusing. 90% of background / instructional information, including Apple books and resources, focuses on aspects of the Gee Whiz interface and doesn't tell you anything about the actual design of the app or how all the parts fit together conceptually.
Techzen
source share