Code Monkey home page Code Monkey logo

jvfloatingdrawer's People

Contributors

gitter-badger avatar jvillella avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jvfloatingdrawer's Issues

Calling Drawer after Login?

I'm having an issue calling this in a presentviewcontroller. I want the main view to resume after a user logs in but nothing happens:

SideViewController *about = [AppDelegate globalDelegate].drawerViewController;
[self presentViewController:about animated:YES completion:nil];

SideViewController being a subclass of JVFloatingDrawerViewController!

Sidebar inside tableview

Dear Julian:
in centerViewController,
how to tabelview reloadData of rightDrawerViewController?

Thank you very much. ^^

Damon.

Pan Gesture

Would it be possible to have a pan gesture, to swipe right on the main view to open the drawer? Like in the stock Messages app, when in a message, you can swipe from the left of the screen to get back to the main view.

In call status bar size change occludes navigation bar

If the device receives a call (or other action which causes the status bar to extend) and the user opens the hidden menu and then changes to another controller, the result is that the extended status bar overlaps the navigation bar of the displayed view controller.

ios simulator screen shot may 20 2015 8 48 12 pm

This behaviour was reported by https://github.com/yumsmools on KyleGoddard/KGFloatingDrawer and the issue affects both libraries.

Example: iPad (and mini) show white box, not menu in left drawer

When building the example program for any of our iPhone devices physical or simulated, the example app works as expected.

When the example application is built in both the iPad simulator as well as on our iPad and iPad mini for iOS 8 on Xcode, if the user selects "left menu" the background of the view is Sky, but instead of the menu with the 2 icons on it there is only a blank white box. Touches where the menu items should be on the white box take you to the expected new views.
ios_simulator_-ipad_2-ipad_2___ios_8_1__12b411

No menu is showing when the device is in arabic

Hi,

We're developing an app to support 10 languages including arabic. We just notice that when we switch the phone to arabic the menu doesn't show at all. We know that in the arabic language its from right to left but the menu isn't even right. Any idea?

Thank you

Simo

What do you use instead of viewDidLoad?

Hey thanks for this, looks really great. Was wondering how I tell which view is being displayed though as viewDidLoad is called when the drawerViewController is first made. ViewDidAppear is also run on first instance, so is there another method like drawerDidClose or CentreViewIsShowing or something that I can use to tell which view is currently being displayed?

Blocks status bar scroll to top

Tapping on the status bar on the center view should scroll that view to the top.

When adding JVFloatingDrawer as the rootViewController it blocks this and scroll to top is no longer accepted

Different root view controller

Any way to use a different root view controller other than JVFloatingDrawerViewController?
e.g., a login view pushing a drawer controller on event

Toggle not working, center drawer corners get rounded

Have a weird issue when trying to toggle the left (or right) drawer where nothing happens except that the center view controller suddenly has barely noticeable rounded corners.

Here is my setup:

App Delegate

if let centerViewController = UIStoryboard(name: "Main", bundle: nil).instantiateInitialViewController() as? UINavigationController, let menuViewController =  UIStoryboard(name: "Menu", bundle: nil).instantiateInitialViewController() as? MenuViewController {

        let drawerViewController = JVFloatingDrawerViewController()
        drawerViewController.leftViewController = menuViewController
        drawerViewController.centerViewController = centerViewController

        UIApplication.sharedApplication().keyWindow?.rootViewController = drawerViewController
    }

Root View (current Center):

@IBAction func didTapMenuBarButtonItem(sender: UIBarButtonItem) {
    if let drawerViewController = parentViewController?.parentViewController as? JVFloatingDrawerViewController {
        drawerViewController.toggleDrawerWithSide(JVFloatingDrawerSide.Left, animated:true, completion:nil)
    }
}

Yes, the drawerViewController is properly called using ' parentViewController?.parentViewController' (I made sure by just setting the new center to the menuViewController and it works without a problem).
Yes, I tried just called 'openDrawer...' instead of toggle.

Any suggestions?
Also, no I cannot use the Swift version of this library (KGFloatingDrawer) as it requires 'use_frameworks!' in the pod file and right now that breaks Travis CI automated builds.

Left Drawer table defaulting to first cell when coming back from segue

I am showing the selected/highlighted table view cell of left drawer using setSelected/setHighlighted methods and overriding cell views. The first item in left drawer is Home and last item is Settings.

I tap Login button and segue to Login screen. On Login screen, instead of login I choose to go back to Settings. When I tap on the menu to activate drawer, I see first cell (Home) of left drawer table view selected instead of the last one (Settings). However the application is still showing Settings view controller. Please help.

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.