File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,9 @@ extension _StackKitViewContentResultBuilderProvider {
2424 public static func buildExpression< T> ( _ expression: StackKitCompatible < T > ) -> [ T ] where T: UIView {
2525 [ expression. view]
2626 }
27+ public static func buildExpression( _ expression: [ UIView ] ) -> [ UIView ] {
28+ expression
29+ }
2730 // parse `for ... in ...`
2831 public static func buildArray( _ components: [ [ UIView ] ] ) -> [ UIView ] {
2932 components. flatMap ( { $0 } )
@@ -65,6 +68,9 @@ extension _StackKitLayerContentResultBuilder {
6568 public static func buildExpression( _ expression: Void ) -> [ CALayer ] {
6669 [ ]
6770 }
71+ public static func buildExpression( _ expression: [ CALayer ] ) -> [ CALayer ] {
72+ expression
73+ }
6874 // parse `for ... in ...`
6975 public static func buildArray( _ components: [ [ CALayer ] ] ) -> [ CALayer ] {
7076 components. flatMap ( { $0 } )
You can’t perform that action at this time.
0 commit comments