Giter VIP home page Giter VIP logo

Comments (4)

aryaxt avatar aryaxt commented on August 27, 2024

That log means it's assigning the newly created SlideNavigationController to the singleton instance which is already assigned to one. As long as that's what you mean to do it's fine. It's more like a warning.

I personally never kill the login page. I keep it as the first item in the stack, and when signing out is selected i just pop to rootViewController. The demo project does exactly that.

Unfortunately I haven't found any better way to manage a singleton instance in a way that works both in code and storyboard. The reason SlideNavigationController is a singleton is so that you are able to reference it when it's created using initWithCoder, also to be able to easily access it from animator classes and the menuViewController.

I'll probably add a more meaningful message for that in the next version to avoid any confusion.

from ios-slide-menu.

klinkert0728 avatar klinkert0728 commented on August 27, 2024

Ok Thank you very much for your explanation, I will take your advice not to kill the login page. it's an amazing controller thank you very much for your support.

from ios-slide-menu.

aryaxt avatar aryaxt commented on August 27, 2024

Just a TLDR & Summary for future reference:

To avoid that warning have SlideNavigationController as the starting point of your storyboard.

from ios-slide-menu.

prabhums avatar prabhums commented on August 27, 2024

Im still seeing this warning message. Is there any update?

from ios-slide-menu.

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.