Skip to content

Commit

Permalink
Fixed setAnimationDidStopSelector target method signature, method cal…
Browse files Browse the repository at this point in the history
…l delivers NSNumber instead of Bool
  • Loading branch information
Wolfgang Muhsal committed Jun 8, 2017
1 parent 5e2f244 commit d1599c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit d1599c2

Please sign in to comment.