From e42303d60bc578152ed1e8ed6afcd72bcb3c7f3e Mon Sep 17 00:00:00 2001 From: Matthew Loflin - Vendor Date: Tue, 17 Oct 2017 11:31:33 -0400 Subject: [PATCH] Remove XCode 9 warning. --- TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m b/TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m index 5c5f50e5..7521cdac 100644 --- a/TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m +++ b/TPKeyboardAvoiding/UIScrollView+TPKeyboardAvoidingAdditions.m @@ -362,7 +362,7 @@ -(CGFloat)TPKeyboardAvoiding_idealOffsetForView:(UIView *)view withViewingAreaHe contentInset = self.contentInset; #endif - void(^centerViewInViewableArea)() = ^ { + void(^centerViewInViewableArea)(void) = ^ { // Attempt to center the subview in the visible space padding = (viewAreaHeight - subviewRect.size.height) / 2;