We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 705b98d commit 086dedaCopy full SHA for 086deda
LXReorderableCollectionViewFlowLayout/LXReorderableCollectionViewFlowLayout.m
@@ -126,6 +126,8 @@ - (id)initWithCoder:(NSCoder *)aDecoder {
126
}
127
128
- (void)dealloc {
129
+ [self.collectionView removeGestureRecognizer:self.panGestureRecognizer];
130
+ [self.collectionView removeGestureRecognizer:self.longPressGestureRecognizer];
131
[self invalidatesScrollTimer];
132
[self removeObserver:self forKeyPath:kLXCollectionViewKeyPath];
133
[[NSNotificationCenter defaultCenter] removeObserver:self name:UIApplicationWillResignActiveNotification object:nil];
0 commit comments