Closed racherki closed 11 years ago
Hey @racherki ,
I don't think Wunderlist is using my framework, do they? Where did you get the information that Wunderlist is using FRLayeredNavigationController from?
Unfortunately, I don't fully understand most of your questions, for example: You're writing about a menu, what menu?
If you want to disable user interaction (stop user from swiping views), you can set userInteractionEnabled = NO
Sorry for not covering most of your questions and for the delay (busy work week), Johannes
Hi @weissi
If you install the Wunderlist application and go to the Settings page > Wunderlist > Third party licenses you'll see that FRLayeredNavigationController is being used by the app. It's actually how i found out about your framework.
With regards to my questions, the term menu was is a bad description, sorry about that, what i actually have is an FRLayeredVieController which uses a standard UIViewController as the root view controller (Settings screen) and a UItabeviewcontroller (Main screen).
Now when the user is on the "Main screen" i want to be able to tap a button and reveal the root view controller "Settings screen", i'd like this to use the exact same animation as the swipe gesture used by the FRLayerNavigationController.
Now whilst the user is on the "Settings Screen" I'd like them to be able to either tap a button or use the normal swipe gesture to pull the "Main Screen" back on to the stack.
If this confusing you can see this exact behaviour working on the Wunderlist app.
I've also had a few issues with the userInteractionEnabled value as it seems to cause issues with existing gesture recognition on some of the "Main Screen" as the viewcontroller uses a swipe gesture to clear the menus. Is the userInteractionEnabled overriding some behaviour on the view?
Also one last thing, the delegate methods never seem to be called, even when i was looking in the demo you have in your framework, am i missing something? If i'm still being unclear please let me know, thanks for taking the time to answer my questions, as any help is extremely useful.
Hi, Sorry to bother you but does the above make sense?
Hi @racherki ,
Sorry again for the delay. Sorry for the ignorance and thanks for mentioning Wunderlist, I'll update the README.md
soon and mention Wunderlist, quite nice advertising :-).
Regarding your questions:
userInteractionEnabled
just removes the gesture recognizer for the left/right swipe of the layers from FRLayeredNavigationController
's main view (usually fullscreen). If you're interested in the code: click herewindow.rootViewController
should be an instance of FRLayeredNavigationController
. The rootViewController
of the FRLayeredNavigationController
should be your main view controller (an UITableViewController
I guess). As soon as the user clicks the settings button, you should [self.layeredNavigationController pushViewController:instanceOfTheSettingsViewController ...]
and your settings should appear.Does this help?
Thanks and kind regards, Johannes
closing due to inactivity
Hi,
I've just started implementing your controller system and I must say I've been really impressed with the way you've done things! Also it's not in your list but the Wunderlist application also uses your framework.
I'm fairly new to coding and am struggling with getting a few things to work and was hoping you could help. I've integrated your system into my app which uses the storyboard to layout all the menus.
Essentially I have a root view controller (uitableview) and a tab view controller which controls the rest of the app, I have successfully got the transition working correctly so I can pull the tab controller to the right to reveal the uitableview controller.
However there are a few things that, for the life of me, I can't figure out how to get working.
However I want to be able to slide the view to reveal (in the same way the user does by moving their finger) by the press of a button, using the popToRootViewControllerAnimated works but it only slides the menu downwards and you can't get back by a finger slide.
Is this possible (it's done in the wunderlist application that your framework is used in)?
Is this possible? Again the wunderlist application uses this approach.
One last thing, my delegate methods don't seem to be firing, is there something specific i need in the delegate method code wise?
Sorry for all the questions but i hope you can help.
Many Thanks Richard