Add extended configuration method with self as argument.
This commit is contained in:
@@ -35,4 +35,11 @@ static const void *kYGYogaAssociatedKey = &kYGYogaAssociatedKey;
|
||||
}
|
||||
}
|
||||
|
||||
- (void)configureLayoutWithContainerBlock:(YGLayoutContainerConfigurationBlock)block
|
||||
{
|
||||
if (block != nil) {
|
||||
block(self.yoga, self);
|
||||
}
|
||||
}
|
||||
|
||||
@end
|
||||
|
Reference in New Issue
Block a user