TextureSwiftSupport icon indicating copy to clipboard operation
TextureSwiftSupport copied to clipboard

ASCornerLayoutSpec not find?

Open CainLuo opened this issue 4 years ago • 3 comments

I didn't find the class ASCornerLayoutSpec, is it not added?

CainLuo avatar Jun 21 '21 09:06 CainLuo

@CainLuo ah, it's not created for now since my project didn't use it. but it also can be descriptor in TextureSwiftSupport.

muukii avatar Jun 21 '21 09:06 muukii

@muukii So does TextureSwiftSupport have a corresponding LayoutSpec to achieve the layout in the figure? This is ASCellNode.

image

CainLuo avatar Jun 21 '21 10:06 CainLuo

@CainLuo yeah, I mean we can add a new layout descriptors that uses ASCornerLayoutSpec inside. But, that layout you've pasted, which can be described with CenterLayout or RelativeLayout with using ZStack or overlay.

muukii avatar Jun 22 '21 07:06 muukii