// // SloppySwiper.h // // Created by Arkadiusz Holko http://holko.pl on 29-05-14. // #import /** * `SloppySwiper` is a class conforming to `UINavigationControllerDelegate` protocol that allows pan back gesture to be started from anywhere on the screen (not only from the left edge). */ @interface SloppySwiper : NSObject /// Gesture recognizer used to recognize swiping to the right. @property (weak, readonly, nonatomic) UIPanGestureRecognizer *panRecognizer; /// Designated initializer if the class isn't used from the Interface Builder. - (instancetype)initWithNavigationController:(UINavigationController *)navigationController; @end