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:
committed by
Facebook Github Bot
parent
a69545a6ae
commit
942543f6a5
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
typedef void (^YGLayoutConfigurationBlock)(YGLayout *);
|
typedef void (^YGLayoutConfigurationBlock)(YGLayout *layout);
|
||||||
|
|
||||||
@interface UIView (Yoga)
|
@interface UIView (Yoga)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user