dekatotoro / SlideMenuControllerSwift

iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift.
MIT License
3.4k stars 754 forks source link

"track()" only called in left pan handler #31

Closed ghost closed 8 years ago

ghost commented 9 years ago

e.g.

dekatotoro commented 9 years ago

Oops, we will fix.

tcalin commented 8 years ago

It would be nice (useful?!) to have the track function also called here

` func handleLeftPanGesture(panGesture: UIPanGestureRecognizer) {

    if !isTagetViewController() {
        return
    }

    if isRightOpen() {
        return
    }

    switch panGesture.state {
        case UIGestureRecognizerState.Began:

`

Maybe with a new TrackAction so that it can be ignored. I am trying to trigger something right after the drag begins and I don't want begin a fork just for this. Actually I need to know if the left panel is completely closed or not. Thank you!

dekatotoro commented 8 years ago

To close since the correspondence in this commit. https://github.com/dekatotoro/SlideMenuControllerSwift/commit/020788d4089c604dfb3084c75f3ea2da142e0b04