FluidGroup / TextureSwiftSupport

A library that gains Texture(AsyncDisplayKit) more power in Swift.
https://medium.com/@muukii/creating-ui-with-like-swiftuis-syntax-by-the-power-of-texture-framework-4d6de571ee86
MIT License
242 stars 28 forks source link

ASCornerLayoutSpec not find? #69

Open CainLuo opened 3 years ago

CainLuo commented 3 years ago

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

muukii commented 3 years ago

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

CainLuo commented 3 years ago

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

image

muukii commented 3 years ago

@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.