3

I found some iOS sliding menu controllers (like Path 2.0 , Facebook iOS), such as ViewDeck https://github.com/Inferis/ViewDeck, ECSlidingViewController https://github.com/edgecase/ECSlidingViewController. But they does not work like UITabbar Controler.

I want to make left side menu controller work like UITabbar, and it can kepp state for each controller for every mene item. It should not create a new controller when I tap a menu item. When I tap a menu item to display a controller (as "controller a") and scroll to someplace, then I switch to another menu item, and switch back to "controller a", it should show me 'controller a' display without changed, just like a tap a UITabbar item.

Thank you.

qichunren
  • 4,405
  • 7
  • 37
  • 48
  • Go ahead and create your own... and please post on Github :D – Maulik May 06 '13 at 05:46
  • 2
    This may help you: https://github.com/stefanoa/SASlideMenu – Unnati May 06 '13 at 05:52
  • I am trying to do the same. I do not think SASlidemenu is working in the same way. when i come to the previous tab it shows the first view controller again. am i missing something? – Nitesh Jan 31 '14 at 15:33

3 Answers3

3

The below link might help you :

https://github.com/stefanoa/SASlideMenu

Unnati
  • 2,441
  • 17
  • 37
0

I use ViewDeck, but I do not have the problem you mentioned. The menu calls the main view to perform a transition, not to instantiate a new view. Therefore, I can implement a back option on the menu to return to the original view in the same state as it was left.

isaach1000
  • 1,819
  • 1
  • 13
  • 18
  • Thanks. I want a directly way to do this. As @Unnati commented, github.com/stefanoa/SASlideMenu is perfect for my need. – qichunren May 07 '13 at 02:00
0

Here is my implementation. It's a subclass of a UINavigationController, and very easy to use.

https://github.com/aryaxt/iOS-Slide-Menu

aryaxt
  • 76,198
  • 92
  • 293
  • 442