mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-05 16:49:45 +00:00
21 lines
709 B
Objective-C
Executable file
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
|