ios - CosmicMind/Material - Storyboard example for SideMenu and NavigationController -


i'm quite new in swift programming , view design possible storyboard. want make application using cosmicmind/material framework have side menu , selecting menu point open new view embedded in navigationcontroller.

the storyboard examples include simple cases both sidenavigationcontroller , navigationcontroller. based on this, app example in programmatic folder , answers in stackoverflow create example 3 menu points , 3 views. can found under github repository tag stackoverflow.

i think side menu , pushing views within navigationcontroller works well. question is, if best practice of how use material framework. problem not show menu icon , title in navigationitem main screen.

can me wrong in code?

or maybe have similar more complex example within storyboard examples sidemenu.

thank much.

i looked @ code , gather, placing navigationitem code in wrong place. how setup should be.

sidenavigationcontroller.rootviewcontroller -> menuviewcontroller. menuviewcontroller.rootviewcontroller -> navigationcontroller navigationcontroller.rootviewcontroller -> uiviewcontroller. (place navigationitem) within uiviewcontroller.

i don't storyboards... no development @ storyboards, didn't go through of setup there. above how should thinking.

you reverse relationship between menuviewcontroller , navigationcontroller,

navigationcontroller.rootviewcontroller -> menuviewcontroller menuviewcontroller.rootviewcontroller -> uiviewcontroller.

in case, menuviewcontroller put navigationitem code, direct child (rootviewcontroller) of navigationcontroller.

i hope helps :)


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -