From 942543f6a5caefb7c90a12295351390b9af3e897 Mon Sep 17 00:00:00 2001 From: Alexander Sarkisov Date: Fri, 24 Nov 2017 08:08:59 -0800 Subject: [PATCH] Add default block attribute. Summary: It is very inconvenient to enter block attribute name for each view in Objective-C. Closes https://github.com/facebook/yoga/pull/618 Differential Revision: D6408138 Pulled By: emilsjolander fbshipit-source-id: 71fe8eadda7233e5055560667d0fc3840ab7259b --- YogaKit/Source/UIView+Yoga.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YogaKit/Source/UIView+Yoga.h b/YogaKit/Source/UIView+Yoga.h index 49f97cd0..f8184b6e 100644 --- a/YogaKit/Source/UIView+Yoga.h +++ b/YogaKit/Source/UIView+Yoga.h @@ -12,7 +12,7 @@ NS_ASSUME_NONNULL_BEGIN -typedef void (^YGLayoutConfigurationBlock)(YGLayout *); +typedef void (^YGLayoutConfigurationBlock)(YGLayout *layout); @interface UIView (Yoga)