From 750953e9dc80fcf4284594ac705f0555356f2e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=87=E1=85=A1=E1=86=A8=E1=84=8B=E1=85=B3=E1=86=AB?= =?UTF-8?q?=E1=84=89=E1=85=AE?= Date: Tue, 24 Sep 2019 15:54:08 +0900 Subject: [PATCH] remove delegate for global animation --- Classes/BFPaperButton.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/Classes/BFPaperButton.m b/Classes/BFPaperButton.m index 5fa39b8..2b69ce3 100644 --- a/Classes/BFPaperButton.m +++ b/Classes/BFPaperButton.m @@ -282,8 +282,6 @@ - (void)setupRaised:(BOOL)isRaised UITapGestureRecognizer *tapGestureRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:nil]; tapGestureRecognizer.delegate = self; [self addGestureRecognizer:tapGestureRecognizer]; - - [UIView setAnimationDidStopSelector:@selector(animationDidStop:finished:)]; }