Closed Kalissaac closed 8 years ago
Thanks for using this component. I've not run your code but I can quickly spot a few issues with your implementation.
Admittedly, I should have created a demo with more than one VC. I will try and do this soon, if its of any help
I appreciate the quick response.
For your first question: Yes, all the view controllers have the same code for the MenuViewDelegate
and they all have the didSelect()
method.
As for the second one: I tried using view containment and that still didn't solve the problem. (I was not able to open the menu again.)
@Kalissaac i've implemented the view containment strategy in a second demo, currently available on this branch, Demo2
If that helps you, please let me know and i'll merge it to the main repo.
To get the changes in your local machine do pull & checkout in the SwiftlyOverlay folder
$git fetch
$git checkout Demo2
Thanks for all your help. I'm trying it out right now.
The new demo worked. Again, thank you for your help.
I have three view controllers (View Controller A, View Controller B and View Controller C) that I want to use my menu with. My storyboard entry point is at VC A. When I tap on the button, I can open up the menu and
performSegueWithIdentifier
to a different view controller. The problem is, when I tap on the button from the view controller I segued to, the menu doesn't show up and I don't know why. Here is my code from the view controller (I removed the stuff that wasn't relevant):