Git Product home page Git Product logo

Comments (10)

ichina avatar ichina commented on September 27, 2024

mspapant, you fuck my brain))

from residemenu.

mspapant avatar mspapant commented on September 27, 2024

:) to be more specific. Let's say we have a navigation controller with two RESide Menu in the stack (one is appeared and another in the back stack).

If i press back (so go to the first item in the stack) and use the presentMenuViewController method the menu is not open, but if i scroll the window everything works fine.

from residemenu.

ichina avatar ichina commented on September 27, 2024

you fuck my brain again, why are you have two RESideMenu? this is disgusting

from residemenu.

mspapant avatar mspapant commented on September 27, 2024

The reason that i have two RESide menus is that the menu should not be available for all view controllers.

from residemenu.

ichina avatar ichina commented on September 27, 2024

this is not right way for you reason

from residemenu.

mspapant avatar mspapant commented on September 27, 2024

any suggestions?

Whatever... it's seem that more than one RESideMenu's in the same navigationController is not supported.

from residemenu.

ichina avatar ichina commented on September 27, 2024

just use for one menu few dataSource for tableView in menu ,each of them for some your controllers

from residemenu.

romaonthego avatar romaonthego commented on September 27, 2024

That's right, you need to have separate data sources and just switch between them.

from residemenu.

mspapant avatar mspapant commented on September 27, 2024

The problem is that i don't want to have RESideMenu for some view controllers.
For example, let's say i have the following controllers:

A (with menu) -> B (with menu) -> C (without menu)

in a navigation controller

how i can disable the menu for C?

from residemenu.

ichina avatar ichina commented on September 27, 2024

you can set property panGestureEnabled = NO for menu when you push C controller to navigation stack, and set panGestureEnabled = YES when you push or pop to another controllers

from residemenu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.