NewsBlur-viq/clients/ios/Other Sources/SloppySwiper/SloppySwiper.h
2014-09-17 16:41:48 -07:00

21 lines
709 B
Objective-C
Executable file

//
// SloppySwiper.h
//
// Created by Arkadiusz Holko http://holko.pl on 29-05-14.
//
#import <Foundation/Foundation.h>
/**
* `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 <UINavigationControllerDelegate>
/// 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