Comments (4)
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.
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.
Just a TLDR & Summary for future reference:
To avoid that warning have SlideNavigationController as the starting point of your storyboard.
from ios-slide-menu.
Im still seeing this warning message. Is there any update?
from ios-slide-menu.
Related Issues (20)
- How to set fix width in side menu for all device?
- conflict with tableview delete gesture & slide menu gesture? HOT 3
- Hi. Not support RTL? (Hebrew) HOT 1
- I have a confused about the code
- How do you close leftMenu immediately
- how can I pop to previous controller by gesture?
- Slide Menu does not work well in IOS 11 HOT 9
- Slide menu visual bug pushing and popping view controllers HOT 1
- Slide menu does not get close on tapping outside the menu on ios 11. HOT 2
- Close de menu by swiping left
- carthage version
- action sheet and image picker controller is not presenting properly on left menu.
- Sigh. Contentview size is zero
- Problem with reordering cells.
- VIewDidLoad not called
- In Swift method HOT 1
- Regarding change in layout while clicking for left menu
- The slide menu on the left, in iPadOS is not working properly HOT 12
- Can support in upperversion of OS ?
- Movement
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-slide-menu.