Permalink
Browse files

Merge pull request #247 from Gucky/master

Fixed target method signature of setAnimationDidStopSelector
  • Loading branch information...
2 parents 5e2f244 + d1599c2 commit 487627d73882ffa7533182ebb73451e058593b44 @michaeltyson committed on GitHub Jun 9, 2017
Showing with 2 additions and 2 deletions.
  1. +2 −2 TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m
@@ -121,8 +121,8 @@ - (void)keyboardViewAppear:(NSString *)animationID context:(void *)context {
self.keyboardAvoidingState.keyboardAnimationInProgress = true;
}
-- (void)keyboardViewDisappear:(NSString *)animationID finished:(BOOL)finished context:(void *)context {
- if (finished) {
+- (void)keyboardViewDisappear:(NSString *)animationID finished:(NSNumber *)finished context:(void *)context {
+ if (finished.boolValue) {
self.keyboardAvoidingState.keyboardAnimationInProgress = false;
}
}

0 comments on commit 487627d

Please sign in to comment.