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
This commit is contained in:
Alexander Sarkisov
2017-11-24 08:08:59 -08:00
committed by Facebook Github Bot
parent a69545a6ae
commit 942543f6a5

View File

@@ -12,7 +12,7 @@
NS_ASSUME_NONNULL_BEGIN
typedef void (^YGLayoutConfigurationBlock)(YGLayout *);
typedef void (^YGLayoutConfigurationBlock)(YGLayout *layout);
@interface UIView (Yoga)