Thanks guys! I’ll do my best to get some code examples so you guys can see my approach. [import]uid: 58885 topic_id: 36414 reply_id: 144628[/import]
Ok, I had a couple hours to put this together. It’s not finished code so don’t complain about the code quality It was meant to just show the basic concept that I am using in an app to mimic that UI.
Code Exchange:
http://developer.coronalabs.com/code/sidebar-ui-example
Code at BitBucket:
http://bitbucket.org/chevoldavis/corona-sidebar-ui [import]uid: 58885 topic_id: 36414 reply_id: 144844[/import]
Thanks alot chevol for taking the time to prepare & share your code. [import]uid: 54747 topic_id: 36414 reply_id: 144845[/import]
No problem msydenham, just happy I could give back to the community [import]uid: 58885 topic_id: 36414 reply_id: 144846[/import]
very cool, thanks [import]uid: 11860 topic_id: 36414 reply_id: 144903[/import]
Hi Chevol, I downloaded the example of your menu to see how it works and try to use it in my apps and foremost I would like to thank the great contribution you’ve done and it’s awesome.
I would like you to help me with the following question: I am using Corona storyboard in my application and i dont know if you menu sample it can integrating with storyboard, where every time you touch on a view1, view2, view3…, a scene is loaded.
Hopefully you can help me, because your menu is perfect for my application.
Thanks in advance
regards
Yes you should be able to integrate it with Storyboard. Probably would be best to keep the left nav(bottom most layer with nav buttons) in a separate group and use Storyboard for the view1, view2, view3.
Hi Chevol, I downloaded the example of your menu to see how it works and try to use it in my apps and foremost I would like to thank the great contribution you’ve done and it’s awesome.
I would like you to help me with the following question: I am using Corona storyboard in my application and i dont know if you menu sample it can integrating with storyboard, where every time you touch on a view1, view2, view3…, a scene is loaded.
Hopefully you can help me, because your menu is perfect for my application.
Thanks in advance
regards
Yes you should be able to integrate it with Storyboard. Probably would be best to keep the left nav(bottom most layer with nav buttons) in a separate group and use Storyboard for the view1, view2, view3.
Hi @chevol,
I’m trying to use your drawer menu with story board.
I see that content group is passed to loadView function and the view add itself to this content group.
local function switchContent() if(preView~=nil)then preView.destroyView() end curView.loadView(contentGroup) print('CanvasController loading view...') timer.performWithDelay(100, animInView, 1) --animInView() end
But I want to call storyboard scene like this
storyboard.gotoScene( "scene1" , "fade", 400 )
I thought I could pass the content group to storyboard’s createScene function then add the storyboard’s self.view group to it but
I couldn’t find to pass the content group to storyboard’s createScene function.
How could I add the storyboard to content group or is there another way to show the storygroup?
Hi @chevol,
I’m trying to use your drawer menu with story board.
I see that content group is passed to loadView function and the view add itself to this content group.
local function switchContent() if(preView~=nil)then preView.destroyView() end curView.loadView(contentGroup) print('CanvasController loading view...') timer.performWithDelay(100, animInView, 1) --animInView() end
But I want to call storyboard scene like this
storyboard.gotoScene( "scene1" , "fade", 400 )
I thought I could pass the content group to storyboard’s createScene function then add the storyboard’s self.view group to it but
I couldn’t find to pass the content group to storyboard’s createScene function.
How could I add the storyboard to content group or is there another way to show the storygroup?
Chevol, thanks for sharing your code! I was looking for ideas on UI design and came across this thread. I can’t wait to see how this works.
Chevol, thanks for sharing your code! I was looking for ideas on UI design and came across this thread. I can’t wait to see how this works.