@@ -71,32 +71,6 @@ - (ECSlidingViewController *)slidingViewController
71
71
72
72
@implementation ECSlidingViewController
73
73
74
- // public properties
75
- @synthesize underLeftViewController = _underLeftViewController;
76
- @synthesize underRightViewController = _underRightViewController;
77
- @synthesize topViewController = _topViewController;
78
- @synthesize anchorLeftPeekAmount;
79
- @synthesize anchorRightPeekAmount;
80
- @synthesize anchorLeftRevealAmount;
81
- @synthesize anchorRightRevealAmount;
82
- @synthesize underRightWidthLayout = _underRightWidthLayout;
83
- @synthesize underLeftWidthLayout = _underLeftWidthLayout;
84
- @synthesize shouldAllowPanningPastAnchor;
85
- @synthesize shouldAllowUserInteractionsWhenAnchored;
86
- @synthesize shouldAddPanGestureRecognizerToTopViewSnapshot;
87
- @synthesize resetStrategy = _resetStrategy;
88
-
89
- // category properties
90
- @synthesize topViewSnapshot;
91
- @synthesize initialTouchPositionX;
92
- @synthesize initialHorizontalCenter;
93
- @synthesize panGesture = _panGesture;
94
- @synthesize resetTapGesture;
95
- @synthesize underLeftShowing = _underLeftShowing;
96
- @synthesize underRightShowing = _underRightShowing;
97
- @synthesize topViewIsOffScreen = _topViewIsOffScreen;
98
- @synthesize topViewSnapshotPanGesture = _topViewSnapshotPanGesture;
99
-
100
74
- (id )init {
101
75
self = [super init ];
102
76
if (self) {
@@ -529,7 +503,7 @@ - (void)addTopViewSnapshot
529
503
530
504
if (self.shouldAddPanGestureRecognizerToTopViewSnapshot ) {
531
505
self.snapshotPanGesture = [[UIPanGestureRecognizer alloc ] initWithTarget: self action: @selector (updateTopViewHorizontalCenterWithRecognizer: )];
532
- [topViewSnapshot addGestureRecognizer: self .snapshotPanGesture];
506
+ [self . topViewSnapshot addGestureRecognizer: self .snapshotPanGesture];
533
507
}
534
508
[self .topView addSubview: self .topViewSnapshot];
535
509
}
0 commit comments