Skip to content

Commit 80506fe

Browse files
committed
Modernize
1 parent 587080a commit 80506fe

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

ECSlidingViewController/Vendor/ECSlidingViewController/ECSlidingViewController.m

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -71,32 +71,6 @@ - (ECSlidingViewController *)slidingViewController
7171

7272
@implementation ECSlidingViewController
7373

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-
10074
- (id)init {
10175
self = [super init];
10276
if (self) {
@@ -529,7 +503,7 @@ - (void)addTopViewSnapshot
529503

530504
if (self.shouldAddPanGestureRecognizerToTopViewSnapshot) {
531505
self.snapshotPanGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(updateTopViewHorizontalCenterWithRecognizer:)];
532-
[topViewSnapshot addGestureRecognizer:self.snapshotPanGesture];
506+
[self.topViewSnapshot addGestureRecognizer:self.snapshotPanGesture];
533507
}
534508
[self.topView addSubview:self.topViewSnapshot];
535509
}

0 commit comments

Comments
 (0)