From 6aa3c4bb83b64ac45cdcfb0591ee6077e362758d Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Tue, 10 Dec 2019 13:44:08 +0800 Subject: [PATCH] feat:add hidden --- Pod/Classes/Shader/DoricViewNode.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Pod/Classes/Shader/DoricViewNode.m b/Pod/Classes/Shader/DoricViewNode.m index 9dd2fffd..f1beff00 100644 --- a/Pod/Classes/Shader/DoricViewNode.m +++ b/Pod/Classes/Shader/DoricViewNode.m @@ -260,6 +260,8 @@ - (void)blendView:(UIView *)view forPropName:(NSString *)name propValue:(id)prop padding.bottom = [dictionary[@"bottom"] floatValue]; } self.view.padding = padding; + } else if ([name isEqualToString:@"hidden"]) { + self.view.hidden = [prop boolValue]; } else { DoricLog(@"Blend View error for View Type :%@, prop is %@", self.class, name); }