From d04895e1f77839634bb7a49384adc3946c4b6e19 Mon Sep 17 00:00:00 2001 From: Yoni Tsafir Date: Sun, 24 Sep 2017 15:23:48 +0300 Subject: [PATCH 1/2] Xcode 9 and -Wstrict-prototypes fix --- UIView+Genie.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UIView+Genie.h b/UIView+Genie.h index f3c5908..abe7dee 100644 --- a/UIView+Genie.h +++ b/UIView+Genie.h @@ -36,6 +36,6 @@ typedef NS_ENUM(NSUInteger, BCRectEdge) { - (void)genieOutTransitionWithDuration:(NSTimeInterval)duration startRect:(CGRect)startRect startEdge:(BCRectEdge)startEdge - completion:(void (^)())completion; + completion:(void (^)(void))completion; @end From 48291f3e953804f2e68542963f66aabfa0a2ee0f Mon Sep 17 00:00:00 2001 From: Yoni Tsafir Date: Sun, 24 Sep 2017 15:25:47 +0300 Subject: [PATCH 2/2] Oops... was too fast and forgot another fix --- UIView+Genie.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UIView+Genie.h b/UIView+Genie.h index abe7dee..8ed53de 100644 --- a/UIView+Genie.h +++ b/UIView+Genie.h @@ -25,7 +25,7 @@ typedef NS_ENUM(NSUInteger, BCRectEdge) { - (void)genieInTransitionWithDuration:(NSTimeInterval)duration destinationRect:(CGRect)destRect destinationEdge:(BCRectEdge)destEdge - completion:(void (^)())completion; + completion:(void (^)(void))completion;