KyleGoddard / KGFloatingDrawer

A floating navigation drawer with an interesting animated presentation written in Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pan Gesture

zjz2330 opened this issue · comments

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.

This might be able to be done without changes to the library (add the required delegation to tigger the open drawer method). I'm hesitant to add this for a couple of reasons. Namely that I wouldn't want the swipe for the drawer to override gestures for the app. If a developer uses a navigation controller in the centre view controller, which swipe takes priority? I'll investigate this for the next version.